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 @@