From 44717364d2a742656d5548974ed44da1684184bd Mon Sep 17 00:00:00 2001 From: Hooray <304327508@qq.com> Date: Tue, 24 Jun 2025 10:23:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5=E5=8F=B3=E9=94=AE?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=A1=A5=E5=85=85=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/components/Topbar/Tabbar/index.vue | 3 +++ src/main.ts | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 756ce345..b6610e9a 100755 --- a/src/main.ts +++ b/src/main.ts @@ -11,9 +11,8 @@ import App from './App.vue' import router from './router' import pinia from './store' import uiProvider from './ui/provider' -import '@/utils/baidu' - import '@/utils/systemCopyright' +import '@/utils/baidu' import 'vxe-table/lib/style.css' import 'vxe-pc-ui/lib/style.css'