1

下面是我要检查验证的示例(至少选择一个选项)。

<q-select
      multiple
      inverted
      color="dark"
      stack-label="Roles"
      separator
      v-model="multipleSelect"
      :options="options1"
      v-validate="'required|in:x-builder,rt-builder,commune,matrix,blade-runner,optocoupler,admin'"
      />
<div class="containerError">   <i v-show="errors.has('role')" class="fa fa-warning"></i>
      <span v-show="errors.has('role')" class="text-negative text-right">{{ errors.first('role') }}</span>
</div>
4

0 回答 0