element-ui:非v-model绑定的自身属性的form表单验证

场景还原:在el-form-item上绑定的验证并不是el-form-item里面的v-model,而是经过换算的值
code:


        
          {{item.label}}
        
 

data:

dialogFeedback:{
        stt:false,
        quesTypeCodes:[],
        quesType:'',
        memo:'',
        name:'',
        phone:'',
        storePic:[],
        editable:false
      },

js

    // 问题类型
    chooseQuesType(quesType,index){
      if(quesType&&this.dialogFeedback.quesTypeCodes ){
        console.log('quesType',quesType)
        for(var qta =0;qta

你可能感兴趣的:(element-ui)