From 86c554fd016a305543e2473c55a6688c2069a8be Mon Sep 17 00:00:00 2001 From: puhui999 Date: Tue, 20 May 2025 10:14:39 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E3=80=90ANTD=E3=80=91=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E7=94=9F=E6=88=90=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E9=85=8D=E7=BD=AE=E6=94=B9=E4=B8=BA=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E5=90=8E=E7=AB=AF=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api/infra/codegen/index.ts | 1 - apps/web-antd/src/views/infra/codegen/data.ts | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/apps/web-antd/src/api/infra/codegen/index.ts b/apps/web-antd/src/api/infra/codegen/index.ts index 0760e752..d8fea045 100644 --- a/apps/web-antd/src/api/infra/codegen/index.ts +++ b/apps/web-antd/src/api/infra/codegen/index.ts @@ -21,7 +21,6 @@ export namespace InfraCodegenApi { createTime: Date; updateTime: Date; templateType: number; - deleteBatch: boolean; parentMenuId: number; } diff --git a/apps/web-antd/src/views/infra/codegen/data.ts b/apps/web-antd/src/views/infra/codegen/data.ts index e705dc24..45c0adb3 100644 --- a/apps/web-antd/src/views/infra/codegen/data.ts +++ b/apps/web-antd/src/views/infra/codegen/data.ts @@ -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: '上级菜单',