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