From 6c2c65b9096fdeb40e89cc456cbc3503ba5feb5d Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Tue, 8 Jul 2025 22:42:50 +0800 Subject: [PATCH] =?UTF-8?q?refactor(menu):=20=E4=BC=98=E5=8C=96=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=92=8C=E8=A1=A8=E6=A0=BC=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 简化操作按钮样式,移除复杂的圆形按钮和tooltip包装 - 统一使用小尺寸按钮(size: small)和14px图标 - 优化按钮文字:新增子菜单→新增,分配权限→权限 - 调整操作列宽度从160px增加到200px,适应按钮文字 - 新增表格横向滚动支持(scroll-x: 2000) - 优化按钮间距,使用gap-1减少空间占用 - 新增表格和页面滚动条样式优化 - 移除复杂的action-btn样式类,简化CSS代码 --- src/views/system/menu/index.vue | 205 +++++++++++++------------------- 1 file changed, 84 insertions(+), 121 deletions(-) diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index d1eedc4..041cf47 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -130,6 +130,7 @@ :row-key="(row: MenuVo) => row.menuId" :bordered="false" :single-line="false" + :scroll-x="2000" children-key="children" size="medium" class="custom-table" @@ -535,7 +536,7 @@