From 4112ec486a10cc01d6d64ca79912cbafb143f172 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 24 六月 2026 17:57:11 +0800
Subject: [PATCH] 项目初始化

---
 src/layouts/basic.vue |   69 +++++++++++++---------------------
 1 files changed, 26 insertions(+), 43 deletions(-)

diff --git a/src/layouts/basic.vue b/src/layouts/basic.vue
index d3a495d..212bcc2 100644
--- a/src/layouts/basic.vue
+++ b/src/layouts/basic.vue
@@ -28,7 +28,7 @@
 import { useAccessStore, useUserStore } from '../packages/stores/src';
 import { formatDateTime, openWindow } from '../packages/utils/src';
 
-import { message, Tooltip } from 'ant-design-vue';
+import { message } from 'ant-design-vue';
 
 import {
   getUnreadNotifyMessageCount,
@@ -66,31 +66,31 @@
     icon: AntdProfileOutlined,
     text: $t('ui.widgets.profile'),
   },
-  {
-    handler: () => {
-      openWindow(VBEN_DOC_URL, {
-        target: '_blank',
-      });
-    },
-    icon: BookOpenText,
-    text: $t('ui.widgets.document'),
-  },
-  {
-    handler: () => {
-      openWindow(VBEN_GITHUB_URL, {
-        target: '_blank',
-      });
-    },
-    icon: SvgGithubIcon,
-    text: 'GitHub',
-  },
-  {
-    handler: () => {
-      helpModalApi.open();
-    },
-    icon: CircleHelp,
-    text: $t('ui.widgets.qa'),
-  },
+  // {
+  //   handler: () => {
+  //     openWindow(VBEN_DOC_URL, {
+  //       target: '_blank',
+  //     });
+  //   },
+  //   icon: BookOpenText,
+  //   text: $t('ui.widgets.document'),
+  // },
+  // {
+  //   handler: () => {
+  //     openWindow(VBEN_GITHUB_URL, {
+  //       target: '_blank',
+  //     });
+  //   },
+  //   icon: SvgGithubIcon,
+  //   text: 'GitHub',
+  // },
+  // {
+  //   handler: () => {
+  //     helpModalApi.open();
+  //   },
+  //   icon: CircleHelp,
+  //   text: $t('ui.widgets.qa'),
+  // },
 ]);
 
 const avatar = computed(() => {
@@ -155,12 +155,6 @@
   }
   handleNotificationGetList();
   handleNotificationGetUnreadCount();
-}
-
-/** 鎵撳紑 IM 鑱婂ぉ */
-function handleOpenImHome() {
-  const { href } = router.resolve({ name: 'ImHome' });
-  window.open(href, '_blank');
 }
 
 // 绉熸埛鍒楄〃
@@ -308,17 +302,6 @@
           @success="handleTenantChange"
         />
       </div>
-    </template>
-    <template #header-right-900>
-      <Tooltip title="IM 鑱婂ぉ">
-        <button
-          class="hover:bg-accent hover:text-accent-foreground mr-1 inline-flex size-8 items-center justify-center rounded-md transition-colors"
-          type="button"
-          @click="handleOpenImHome"
-        >
-          <IconifyIcon class="size-4" icon="lucide:message-circle" />
-        </button>
-      </Tooltip>
     </template>
     <template #extra>
       <AuthenticationLoginExpiredModal

--
Gitblit v1.9.3