perf: 【ANTD】代码生成批量删除接口配置改为通过后端配置文件
parent
b410e50edb
commit
86c554fd01
|
@ -21,7 +21,6 @@ export namespace InfraCodegenApi {
|
|||
createTime: Date;
|
||||
updateTime: Date;
|
||||
templateType: number;
|
||||
deleteBatch: boolean;
|
||||
parentMenuId: number;
|
||||
}
|
||||
|
||||
|
|
|
@ -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: '上级菜单',
|
||||
|
|
Loading…
Reference in New Issue