From a272ea07a9ffee695429769f03c0539806a5c482 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期六, 22 五月 2021 23:40:26 +0800 Subject: [PATCH] !38 修改bo代码生成器,修改无法更新代码生成器是否必填为否问题 Merge pull request !38 from Yjoioooo/master --- ruoyi-ui/src/views/tool/gen/editTable.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/views/tool/gen/editTable.vue b/ruoyi-ui/src/views/tool/gen/editTable.vue index 62a8314..94d0ef3 100644 --- a/ruoyi-ui/src/views/tool/gen/editTable.vue +++ b/ruoyi-ui/src/views/tool/gen/editTable.vue @@ -113,7 +113,7 @@ </el-table> </el-tab-pane> <el-tab-pane label="鐢熸垚淇℃伅" name="genInfo"> - <gen-info-form ref="genInfo" :info="info" :menus="menus"/> + <gen-info-form ref="genInfo" :info="info" :tables="tables" :menus="menus"/> </el-tab-pane> </el-tabs> <el-form label-width="100px"> @@ -144,6 +144,8 @@ activeName: "cloum", // 琛ㄦ牸鐨勯珮搴� tableHeight: document.documentElement.scrollHeight - 245 + "px", + // 琛ㄤ俊鎭� + tables: [], // 琛ㄥ垪淇℃伅 cloumns: [], // 瀛楀吀淇℃伅 @@ -161,6 +163,7 @@ getGenTable(tableId).then(res => { this.cloumns = res.data.rows; this.info = res.data.info; + this.tables = res.data.tables; }); /** 鏌ヨ瀛楀吀涓嬫媺鍒楄〃 */ getDictOptionselect().then(response => { -- Gitblit v1.9.3