| | |
| | | import { useConnectWebSocket } from '@/utils/websocket/connect-websocket' |
| | | import { useStore } from 'vuex' |
| | | import dayjs from 'dayjs' |
| | | import { aLinkDownloadUtil } from '@/utils/util' |
| | | import { aLinkDownloadUtil, logOutFun } from '@/utils/util' |
| | | import EventBus from '@/utils/eventBus' |
| | | import { getStore, setStore } from '@/utils/store' |
| | | |
| | |
| | | |
| | | const logOut = () => { |
| | | store.commit('SET_THEME_NAME', '') |
| | | store.dispatch('LogOut').then(() => { |
| | | router.push({ path: '/login' }) |
| | | setTimeout(() => location.reload()) |
| | | }) |
| | | logOutFun() |
| | | } |
| | | function messageHandler(payload) { |
| | | switch (payload.biz_code) { |