吉安感知网项目-前端
shuishen
2026-03-16 c1e0c945ec7c6d14873faa707cdde41f0599ee98
applications/task-work-order/src/page/index/useGlobalWS.js
@@ -3,7 +3,7 @@
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'
@@ -41,10 +41,7 @@
   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) {