From 10e01aa71d494ece26214bd57017e045f13b2a08 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 06 八月 2025 09:12:34 +0800 Subject: [PATCH] fix: 修改功能模块 --- src/views/System/components/SubModuleEditDrawer.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/System/components/SubModuleEditDrawer.vue b/src/views/System/components/SubModuleEditDrawer.vue index a39c1d7..91615c5 100644 --- a/src/views/System/components/SubModuleEditDrawer.vue +++ b/src/views/System/components/SubModuleEditDrawer.vue @@ -93,6 +93,7 @@ import { ProTableOperationBtn } from '@bole-core/components'; import { Message } from '@/utils'; import { ElMessageBox } from 'element-plus'; +import { DrawerTableDataItem } from '../types'; defineOptions({ name: 'SubModuleEditDrawer', @@ -102,7 +103,7 @@ modelValue: boolean; title: string; type: SubModuleType; - data: ValueOf<API.AllSubModule>; + data: DrawerTableDataItem[]; }; const props = withDefaults(defineProps<Props>(), { @@ -126,9 +127,9 @@ //鎵归噺娣诲姞 (e: 'onBatchAddColumn', keys: string[]): void; (e: 'onAddFastBtn', fastBtn: FastBtn): void; - (e: 'onSaveSubModule', subModule: API.ModuleButtonDto | API.ModuleColumnDto): void; + (e: 'onSaveSubModule', subModule: DrawerTableDataItem): void; (e: 'onBatchSaveColumn'): void; - (e: 'onDeleteSubModule', subModule: API.ModuleButtonDto | API.ModuleColumnDto): void; + (e: 'onDeleteSubModule', subModule: DrawerTableDataItem): void; }>(); const innerVisible = computed({ -- Gitblit v1.9.1