el-form-item 通过slot自定义label内容

<el-form-item prop="priority">
  <span slot="label">处理过程 </span>
  <el-link slot="label" icon="el-icon-question"></el-link>
  <el-input v-model="formTwo.weight" placeholder="单位千克" name="weight" ></el-input>
</el-form-item>

 

posted on 2020-04-23 15:46  mlllily  阅读(8202)  评论(3编辑  收藏  举报