Xiao_Mo 3 lat temu
rodzic
commit
8ffa24a6b9
1 zmienionych plików z 2 dodań i 1 usunięć
  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();
-    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.onSubmit();