element-plus 之 Form-Item 插槽使用
<el-form> <el-form-item> <template #label> 自定义label飞: <!--<el-popover placement="top" :width="50" trigger="hover" content="我是说明提示"> <template #reference> <el-icon style="vertical-align: sub; cursor: pointer"><Warning/></el-icon> </template> </el-popover>--> <el-icon style="vertical-align: sub; cursor: pointer"><Warning/></el-icon> </template> <template #default> <el-input v-model="feiNumber" style=" 200px"/> </template> </el-form-item> </el-form>