From 8bfe022a28865028fb9e1820fed5bb904319b3f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E6=B2=90?= Date: Wed, 1 Mar 2023 22:14:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7maku-generator=203.0.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maku-boot-module/maku-module-generator/pom.xml | 2 +- .../src/main/resources/template/config.json | 2 +- .../src/main/resources/template/vue/index.vue.ftl | 13 ++++++------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/maku-boot-module/maku-module-generator/pom.xml b/maku-boot-module/maku-module-generator/pom.xml index 8c0bcc7..ebf0453 100644 --- a/maku-boot-module/maku-module-generator/pom.xml +++ b/maku-boot-module/maku-module-generator/pom.xml @@ -13,7 +13,7 @@ net.maku maku-generator-boot-starter - 3.0.1 + 3.0.2 diff --git a/maku-boot-module/maku-module-generator/src/main/resources/template/config.json b/maku-boot-module/maku-module-generator/src/main/resources/template/config.json index 033aae2..dc5e03d 100644 --- a/maku-boot-module/maku-module-generator/src/main/resources/template/config.json +++ b/maku-boot-module/maku-module-generator/src/main/resources/template/config.json @@ -48,7 +48,7 @@ }, { "templateName": "sql/menu.sql.ftl", - "generatorPath": "${backendPath}/menu/${functionName}_menu.sql" + "generatorPath": "${backendPath}/menu/${tableName}_menu.sql" }, { "templateName": "vue/api.ts.ftl", diff --git a/maku-boot-module/maku-module-generator/src/main/resources/template/vue/index.vue.ftl b/maku-boot-module/maku-module-generator/src/main/resources/template/vue/index.vue.ftl index e8626e8..efb66ee 100644 --- a/maku-boot-module/maku-module-generator/src/main/resources/template/vue/index.vue.ftl +++ b/maku-boot-module/maku-module-generator/src/main/resources/template/vue/index.vue.ftl @@ -14,8 +14,8 @@ <#elseif field.queryFormType == 'radio'> - <#if field.queryDict??> - + <#if field.formDict??> + <#else> 单选 @@ -81,12 +81,11 @@