gaoluyang
2026-06-24 4112ec486a10cc01d6d64ca79912cbafb143f172
项目初始化
已修改4个文件
76 ■■■■■ 文件已修改
.env 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
.idea/vcs.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layouts/basic.vue 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/packages/@core/preferences/src/config.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env
@@ -1,5 +1,5 @@
# 应用标题
VITE_APP_TITLE=芋道管理系统
VITE_APP_TITLE=工厂数字化MOM系统
# 应用命名空间,用于缓存、store等功能的前缀,确保隔离
VITE_APP_NAMESPACE=yudao-vben-antd
.idea/vcs.xml
@@ -2,6 +2,5 @@
<project version="4">
  <component name="VcsDirectoryMappings">
    <mapping directory="" vcs="Git" />
    <mapping directory="$PROJECT_DIR$/yudao-ui-admin-vben" vcs="Git" />
  </component>
</project>
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
src/packages/@core/preferences/src/config.ts
@@ -120,8 +120,8 @@
    colorPrimary: 'hsl(212 100% 45%)',
    colorSuccess: 'hsl(144 57% 58%)',
    colorWarning: 'hsl(42 84% 61%)',
    mode: 'dark',
    radius: '0.5',
    mode: 'light',
    radius: '0.75',
    fontSize: 16,
    semiDarkHeader: false,
    semiDarkSidebar: false,