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, }, {