search

Home  >  Q&A  >  body text

javascript - vee-validate fails to enter after verifying that it is not empty

code show as below:

<input type="text" name="attachmentName" class="form-control" v-model="caseAttachmentManage.attachmentName" autocomplete="off" placeholder="附件名称"  v-validate="'required'" :class="{'input': true, 'is-danger': errors.has('attachmentName') }"/>
                <span v-show="errors.has('attachmentName')"  class="text-danger" >{{ errors.first('attachmentName') }}</span>

The input box cannot be entered, please solve it

高洛峰高洛峰2727 days ago1159

reply all(1)I'll reply

  • 欧阳克

    欧阳克2017-06-12 09:34:41

    reply
    0
  • Cancelreply