el-input输入框不能输入

<el-input placeholder="" v-model.trim='form.getAlarmMobile' clearable></el-input>

问题:输入框不能输入

原因:form里面未初始化getAlarmMobile这个属性

解决:

      form: {
        identityType: '',
        caseId: '',
        checkUser: '',
        storeId: '',
        usefulTime: '',
        getAlarmMobile: ''
      },

 

posted @ 2022-06-14 14:52  rachelch  阅读(1694)  评论(0)    收藏  举报