Xiao_Mo 3 éve
szülő
commit
8ffa24a6b9
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      src/views/organManager/components/organInfo.vue

+ 2 - 1
src/views/organManager/components/organInfo.vue

@@ -488,7 +488,8 @@ export default {
     }
     }
 
 
     this.$refs.form.clearValidate();
     this.$refs.form.clearValidate();
-    if (this.data&& this.$route.query.type == "create") {
+    console.log(this.data,'data')
+    if (this.data.id&& this.$route.query.type == "create") { 
       this.checkPhone();
       this.checkPhone();
       //  验证表单 看看是否有异常
       //  验证表单 看看是否有异常
       this.onSubmit();
       this.onSubmit();