diff --git a/src/layouts/components/Topbar/Tabbar/index.vue b/src/layouts/components/Topbar/Tabbar/index.vue index e8639294..6f479cdb 100644 --- a/src/layouts/components/Topbar/Tabbar/index.vue +++ b/src/layouts/components/Topbar/Tabbar/index.vue @@ -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), }, diff --git a/src/main.ts b/src/main.ts index 4763b8fa..bc1ab698 100755 --- a/src/main.ts +++ b/src/main.ts @@ -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 图标