标签:option model 门诊部 value highlight stop orm mode check
<el-form-item prop="checkList" label="复选框" > <el-checkbox-group v-model="moduleForm.checkList"> <el-checkbox v-for="item in checkListOption" :label="item.value" :key="item.value" >{{item.label}}</el-checkbox> </el-checkbox-group> </el-form-item>
moduleForm = { checkList: [] } checkListOption = [{ value: ‘001-3‘, label: ‘门诊部‘ }, { value: ‘001-4‘, label: ‘住院部‘ }, { value: ‘001-5‘, label: ‘后勤部‘ }]
标签:option model 门诊部 value highlight stop orm mode check
原文地址:https://www.cnblogs.com/LFxanla/p/11105733.html