ElementUI 的 el-select 设置值后显示value而不是label
https://blog.csdn.net/hai1124948893/article/details/114298265
value="1"是字符,:value="1"是数字。第二个就显示ok
<el-select v-model="state.dialog.form.status">
<el-option value="1" label="在职" key="1"></el-option>
<el-option value="2" label="离职" key="2"></el-option>
</el-select>
<el-select v-model="state.dialog.form.status">
<el-option :value="1" label="在职" key="1"></el-option>
<el-option :value="2" label="离职" key="2"></el-option>
</el-select>