vue多选验证

vue select 多选 验证
<FormItem :prop="'formList.'+index+'.name'" label="姓名"
:rules="{ required: true, type: 'array', min: 1, message: '输入框不能为空',trigger: 'change' }">
<Select class="formItem" :size="size" :label-in-value="true" multiple v-model="item.name" >
<Option v-for="ite in item.names" :key="ite.personId" :value="ite.personId">{{ite.employeeName}}</Option>
</Select>
</FormItem>

上一篇:【计算方法】利用迭代法与python求解方程的根


下一篇:LeetCode题解之Rotated Digits