yrik 4 năm trước cách đây
mục cha
commit
62e2caaa4d
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      ruoyi-ui/src/views/tool/gen/editTable.vue

+ 4 - 1
ruoyi-ui/src/views/tool/gen/editTable.vue

@@ -762,7 +762,10 @@
           let data = response.data
           data.foreignKey = data.foreignKey ? data.foreignKey - 0 : ''
           this.formZd = data;
-          this.ForeName = data.fkInfo.value
+          if(data.fkInfo !== null){
+            this.ForeName = data.fkInfo.value
+          }
+          
           this.openZd = true;
           this.title = "修改字段信息";
         });