From c5615d6e4468351ea5d71d7dde04c55e60e73b85 Mon Sep 17 00:00:00 2001 From: Hzm <2469013034@qq.com> Date: Fri, 26 Sep 2025 12:03:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=9A=84=E5=88=86=E9=A1=B5=E6=8E=A7=E4=BB=B6?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/role/index.vue | 9 ++++++++- src/views/system/role/utils/hook.tsx | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue index 99e7f9b..3266e9c 100644 --- a/src/views/system/role/index.vue +++ b/src/views/system/role/index.vue @@ -28,7 +28,9 @@ const { resetForm, menuTree, getMenuTree, - handleDelete + handleDelete, + handleSizeChange, + handleCurrentChange } = useRole(); const opType = ref<"add" | "update">("add"); @@ -50,6 +52,11 @@ async function openDialog(type: "add" | "update", row?: RoleDTO) { opRow.value = row; modalVisible.value = true; } + +function handleSelectionChange(selection) { + // 处理表格行选择变化 + console.log("selection changed:", selection); +}