perf: 【ANTD】代码生成批量删除接口配置改为通过后端配置文件

pull/111/head
puhui999 2025-05-20 10:14:39 +08:00
parent b410e50edb
commit 86c554fd01
2 changed files with 0 additions and 13 deletions

View File

@ -21,7 +21,6 @@ export namespace InfraCodegenApi {
createTime: Date;
updateTime: Date;
templateType: number;
deleteBatch: boolean;
parentMenuId: number;
}

View File

@ -11,7 +11,6 @@ import { useAccess } from '@vben/access';
import { IconifyIcon } from '@vben/icons';
import { handleTree } from '@vben/utils';
import { z } from '#/adapter/form';
import { getDataSourceConfigList } from '#/api/infra/data-source-config';
import { getMenuList } from '#/api/system/menu';
import { $t } from '#/locales';
@ -158,17 +157,6 @@ export function useGenerationInfoBaseFormSchema(): VbenFormSchema[] {
},
rules: 'selectRequired',
},
{
component: 'RadioGroup',
fieldName: 'deleteBatch',
label: '批量删除?',
help: '是否生成批量删除接口',
componentProps: {
options: getDictOptions(DICT_TYPE.INFRA_BOOLEAN_STRING, 'boolean'),
class: 'w-full',
},
rules: z.boolean().default(false),
},
{
fieldName: 'parentMenuId',
label: '上级菜单',