在input标签中加入 : <i slot="suffix" style="font-style:normal;margin-right: 10px;">℃</i>

<el-form-item label="温度:" class="layout">
   <el-input v-model="form.temperature" placeholder="工艺温度" ><i slot="suffix" style="font-style:normal;margin-right: 10px;">℃</i></el-input>
</el-form-item>

  

posted on 2020-07-27 10:14  ygunoil  阅读(4101)  评论(0编辑  收藏  举报