浏览代码

Merge branch '机构介绍新增问题' of sckj/mz-cloud into master

Shawn 1 年之前
父节点
当前提交
020ee4ef87
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ruoyi-ui/src/views/organization/jggl/jcxx/index.vue

+ 2 - 2
ruoyi-ui/src/views/organization/jggl/jcxx/index.vue

@@ -1631,14 +1631,14 @@ export default {
             }
 	          console.log(pamar, 'pamar')
 
-            if(this.form2.jgid!=null){
+            if(this.form2.id!=null){
               updateJgjs(this.form2);
             }else{
               this.form2.jgid=this.form.id;
               addJgjs(this.form2);
               getJgjs(this.form.id).then(response => {
                 if(response.data!=null) {
-                  this.form2 = response.data
+                  this.form2 = response.data;
                 }
               })
             }