升级maku-generator 3.0.2
This commit is contained in:
parent
e4b6c8aae0
commit
8bfe022a28
|
@ -13,7 +13,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.maku</groupId>
|
<groupId>net.maku</groupId>
|
||||||
<artifactId>maku-generator-boot-starter</artifactId>
|
<artifactId>maku-generator-boot-starter</artifactId>
|
||||||
<version>3.0.1</version>
|
<version>3.0.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"templateName": "sql/menu.sql.ftl",
|
"templateName": "sql/menu.sql.ftl",
|
||||||
"generatorPath": "${backendPath}/menu/${functionName}_menu.sql"
|
"generatorPath": "${backendPath}/menu/${tableName}_menu.sql"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"templateName": "vue/api.ts.ftl",
|
"templateName": "vue/api.ts.ftl",
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</#if>
|
</#if>
|
||||||
<#elseif field.queryFormType == 'radio'>
|
<#elseif field.queryFormType == 'radio'>
|
||||||
<#if field.queryDict??>
|
<#if field.formDict??>
|
||||||
<fast-radio-group v-model="state.queryForm.${field.attrName}" dict-type="${field.queryDict}"></fast-radio-group>
|
<fast-radio-group v-model="state.queryForm.${field.attrName}" dict-type="${field.formDict}"></fast-radio-group>
|
||||||
<#else>
|
<#else>
|
||||||
<el-radio-group v-model="state.queryForm.${field.attrName}">
|
<el-radio-group v-model="state.queryForm.${field.attrName}">
|
||||||
<el-radio :label="0">单选</el-radio>
|
<el-radio :label="0">单选</el-radio>
|
||||||
|
@ -81,12 +81,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts" name="${ModuleName}${FunctionName}Index">
|
<script setup lang="ts" name="${ModuleName}${FunctionName}Index">
|
||||||
import { useCrud } from '@/hooks'
|
import {useCrud} from '@/hooks'
|
||||||
import { reactive, ref } from 'vue'
|
import {reactive, ref} from 'vue'
|
||||||
import AddOrUpdate from './add-or-update.vue'
|
import {IHooksOptions} from '@/hooks/interface'
|
||||||
import { IHooksOptions } from '@/hooks/interface'
|
|
||||||
|
|
||||||
const state: IHooksOptions = reactive({
|
const state: IHooksOptions = reactive({
|
||||||
dataListUrl: '/${moduleName}/${functionName}/page',
|
dataListUrl: '/${moduleName}/${functionName}/page',
|
||||||
deleteUrl: '/${moduleName}/${functionName}',
|
deleteUrl: '/${moduleName}/${functionName}',
|
||||||
queryForm: {
|
queryForm: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user