| | |
| | | </p> |
| | | </template> |
| | | </el-dialog> |
| | | |
| | | |
| | | <el-tooltip content="最小化" placement="bottom"> |
| | | <span class="cursor-pointer ywifont ywicon-tuichuquanping" size="15px" @click="smallScreenClick" /> |
| | | </el-tooltip> |
| | |
| | | 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({ |
| | |
| | | }); |
| | | |
| | | const smallScreenClick = () => { |
| | | const pathname = window.location.pathname; |
| | | const basePath = pathname.replace(/\/web\/index\.html$/, ''); |
| | | window.location.href = basePath || '/'; |
| | | ParentRegister.notify?.({ |
| | | type: 'fullScreen', |
| | | value: false, |