From 144a44673b3e37129e723e91c4821ccf1d105bbf Mon Sep 17 00:00:00 2001 From: lijiahangmax Date: Sun, 11 Aug 2024 23:06:59 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=90=8E=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E9=94=99=E8=AF=AF.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/menu/components/menu-table.vue | 2 ++ .../src/views/system/menu/types/table.columns.ts | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/orion-visor-ui/src/views/system/menu/components/menu-table.vue b/orion-visor-ui/src/views/system/menu/components/menu-table.vue index 3f9963e0..cac35309 100644 --- a/orion-visor-ui/src/views/system/menu/components/menu-table.vue +++ b/orion-visor-ui/src/views/system/menu/components/menu-table.vue @@ -272,11 +272,13 @@ // 添加后回调 const addedCallback = () => { + formRef.value.resetFields(); loadMenuData(true); }; // 更新后回调 const updatedCallback = () => { + formRef.value.resetFields(); loadMenuData(true); }; diff --git a/orion-visor-ui/src/views/system/menu/types/table.columns.ts b/orion-visor-ui/src/views/system/menu/types/table.columns.ts index 24076370..6fe9302d 100644 --- a/orion-visor-ui/src/views/system/menu/types/table.columns.ts +++ b/orion-visor-ui/src/views/system/menu/types/table.columns.ts @@ -17,7 +17,7 @@ const columns = [ title: '类型', dataIndex: 'type', slotName: 'type', - width: 80, + width: 68, }, { title: '排序', dataIndex: 'sort', @@ -32,20 +32,21 @@ const columns = [ title: '权限标识', dataIndex: 'permission', slotName: 'permission', - minWidth: 138, + minWidth: 168, ellipsis: true, tooltip: true }, { title: '组件名称', dataIndex: 'component', slotName: 'component', - minWidth: 138, + minWidth: 218, ellipsis: true, tooltip: true, }, { title: '链接路径', dataIndex: 'path', slotName: 'path', + width: 168, ellipsis: true, tooltip: true, }, {