瀏覽代碼

Merge branch '1.2.2' of http://git.platomix.net/yangfan/workflow into 1.2.2

hml 5 月之前
父節點
當前提交
1b39bef723
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/components/Generator/components/InputTable/index.vue
  2. 2 2
      src/utils/request.js

+ 1 - 1
src/components/Generator/components/InputTable/index.vue

@@ -565,7 +565,7 @@ export default {
           isText: t.isText || false,
           ...additionalType
         }
-        if (this.config.relationColumnList && this.config.relationColumnList.length){
+        if (relationFlag && this.config.relationColumnList && this.config.relationColumnList.length){
           let relationColumn = this.config.relationColumnList.find(item => item.foreignId == res.__vModel__)
           if (relationColumn) {
             res.value = val ? val[relationColumn.primaryId] : null

文件差異過大導致無法顯示
+ 2 - 2
src/utils/request.js