标签:rop sele -o for alarm ons pre val mod
alarmLevelOptions:[]
this.getDicts("alarm_level").then(response => {
this.alarmLevelOptions = response.data;
});
<el-form-item label="报警级别" prop="alarmLevel">
<el-select v-model="form.alarmLevel" placeholder="请选择报警级别">
<el-option
v-for="dict in alarmLevelOptions"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="parseInt(dict.dictValue)"
/>
</el-select>
</el-form-item>
标签:rop sele -o for alarm ons pre val mod
原文地址:https://www.cnblogs.com/xl4ng/p/14056593.html