feat: 标签页右键菜单补充图标

This commit is contained in:
Hooray
2025-06-25 18:33:53 +08:00
parent bfe6607f04
commit e2cd48469c
2 changed files with 3 additions and 1 deletions
@@ -83,16 +83,19 @@ function contextMenuItems(routeItem: Tabbar.recordRaw) {
[
{
label: '关闭其他标签页',
icon: 'i-mdi:close',
disabled: !tabbar.checkCloseOtherSide(routeItem.tabId),
handle: () => tabbar.closeOtherSide(routeItem.tabId),
},
{
label: '关闭左侧标签页',
icon: 'i-mdi:arrow-expand-left',
disabled: !tabbar.checkCloseLeftSide(routeItem.tabId),
handle: () => tabbar.closeLeftSide(routeItem.tabId),
},
{
label: '关闭右侧标签页',
icon: 'i-mdi:arrow-expand-right',
disabled: !tabbar.checkCloseRightSide(routeItem.tabId),
handle: () => tabbar.closeRightSide(routeItem.tabId),
},
-1
View File
@@ -8,7 +8,6 @@ import App from './App.vue'
import router from './router'
import pinia from './store'
import uiProvider from './ui/provider'
import '@/utils/systemCopyright'
// 加载 svg 图标