소스 검색

接口数据报错,修改其他'

shaun-sheep 5 년 전
부모
커밋
f1d90d90b6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/components/relation/relationShip/Modal/addRelationShip.vue

+ 2 - 1
src/components/relation/relationShip/Modal/addRelationShip.vue

@@ -51,7 +51,7 @@
                 autocomplete="off"
                 :placeholder="values.pleaseEnterCode"
                 :disabled="disabled"
-                :error="mainError"
+
               />
             </el-form-item>
           </el-col>
@@ -197,6 +197,7 @@
       },
       submitForm(formName) {
         this.$refs[formName].validate(valid => {
+          console.log(valid,'valid')
           if (valid) {
             let arr = []
             for(let item  of this.ruleForm.codeList) {