Welcome to 16892 Developer Community-Open, Learning,Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

image

<FormItem :label="$t('pricePage').product.title" prop="product" >
      <Icon type="ios-help-circle-outline" />
      <Select v-model="priceForm.product" >          

我想把icon紧跟着英文后面,然后select框不被顶下去要怎么做?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

用FormItem的slot

<FormItem>
    <span slot="label">
        {{$t('pricePage').product.title}}
        <Icon type="ios-help-circle-outline" />
    </span>
</FormItem>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to 16892 Developer Community-Open, Learning and Share
...