From 1c523a8f06da84f47785ecba38298e9d2de515b0 Mon Sep 17 00:00:00 2001 From: RubyLiu Date: Sat, 7 Oct 2023 19:00:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A8=E6=A0=BC=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E8=A1=8C=E5=88=97=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/pure/ms-table/base-table.vue | 52 +++++++++++++++++-- frontend/src/components/pure/ms-table/type.ts | 5 +- .../src/components/pure/ms-table/useTable.ts | 15 ++++++ frontend/src/locale/zh-CN/index.ts | 2 +- .../projectManagement/menuManagement.ts | 1 - .../menuManagement/TableExpand.vue | 23 ++++++++ .../menuManagement/index.vue | 19 +++++-- 7 files changed, 106 insertions(+), 11 deletions(-) create mode 100644 frontend/src/views/project-management/projectAndPermission/menuManagement/TableExpand.vue diff --git a/frontend/src/components/pure/ms-table/base-table.vue b/frontend/src/components/pure/ms-table/base-table.vue index f35a83a57f..03136e7167 100644 --- a/frontend/src/components/pure/ms-table/base-table.vue +++ b/frontend/src/components/pure/ms-table/base-table.vue @@ -5,6 +5,7 @@ :row-class="getRowClass" :span-method="spanMethod" :columns="currentColumns" + :expanded-keys="props.expandedKeys" @sorter-change="(dataIndex: string,direction: string) => handleSortChange(dataIndex, direction)" > + -