Skip to content

Commit 68ff59c

Browse files
committed
标签页右键菜单补充图标
1 parent 52012d4 commit 68ff59c

File tree

1 file changed

+3
-0
lines changed
  • src/layouts/components/Topbar/Tabbar

1 file changed

+3
-0
lines changed

src/layouts/components/Topbar/Tabbar/index.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,19 @@ function contextMenuItems(routeItem: Tabbar.recordRaw) {
8383
[
8484
{
8585
label: '关闭其他标签页',
86+
icon: 'i-mdi:close',
8687
disabled: !tabbar.checkCloseOtherSide(routeItem.tabId),
8788
handle: () => tabbar.closeOtherSide(routeItem.tabId),
8889
},
8990
{
9091
label: '关闭左侧标签页',
92+
icon: 'i-mdi:arrow-expand-left',
9193
disabled: !tabbar.checkCloseLeftSide(routeItem.tabId),
9294
handle: () => tabbar.closeLeftSide(routeItem.tabId),
9395
},
9496
{
9597
label: '关闭右侧标签页',
98+
icon: 'i-mdi:arrow-expand-right',
9699
disabled: !tabbar.checkCloseRightSide(routeItem.tabId),
97100
handle: () => tabbar.closeRightSide(routeItem.tabId),
98101
},

0 commit comments

Comments
 (0)