element ui select el-select
el-select select下拉选择框常用使用说明。
el-select 使用说明 使用字典
<el-select v-model="form.postIds" multiple placeholder="请选择">
<el-option
v-for="dict in dict.type.sys_normal_disable"
:key="dict.postId"
:label="dict.postName"
:value="dict.postId"
:disabled="dict.status == 1"
></el-option>
</el-select>
<el-select v-model="form.postIds" multiple placeholder="请选择">
<el-option
v-for="item in postOptions"
:key="item.postId"
:label="item.postName"
:value="item.postId"
:disabled="item.status == 1"
></el-option>
</el-select>
<script>
/*******/
postOptions:[],
/**切换方法*/
</script>