wujingjing
2025-04-02 5fb58c10b2bb44b3f2d3bdab4d7a6619271e2bbf
src/layout/component/header/Header.vue
@@ -47,12 +47,12 @@
import { systemNotifyList } from '/@/api/ai/chat';
import router from '/@/router';
import pinia from '/@/stores';
import { activeChatRoom, activeRoomId, isSharePage, newChatRoomClick } from '/@/stores/chatRoom';
import { activeChatRoom, newChatRoomClick, sidebarIsShow } from '/@/stores/chatRoom';
import { ParentRegister } from '/@/stores/global';
import { useThemeConfig } from '/@/stores/themeConfig';
import emitter from '/@/utils/mitt';
import { userInfoKey } from '/@/utils/request';
import { Local } from '/@/utils/storage';
import { ParentRegister } from '/@/stores/global';
const props = defineProps(['sidebarIsShow']);
let state = reactive({
@@ -64,6 +64,9 @@
});
const smallScreenClick = () => {
   const pathname = window.location.pathname;
   const basePath = pathname.replace(/\/web\/index\.html$/, '');
   window.location.href = basePath || '/';
   ParentRegister.notify?.({
      type: 'fullScreen',
      value: false,