liuyanpeng 2 anos atrás
pai
commit
636dbf5eef
2 arquivos alterados com 4 adições e 4 exclusões
  1. 3 3
      package.json
  2. 1 1
      src/main.js

+ 3 - 3
package.json

@@ -1,7 +1,7 @@
 {
   "name": "prodog-pc-client",
   "description": "Leanwo Prodog Client",
-  "version": "1.1.76",
+  "version": "1.1.78",
   "author": "yangzhijie1488 <yangzhijie1488@163.com>",
   "scripts": {
     "dev": "cross-env webpack serve --config ./webpack.dev.js",
@@ -19,8 +19,8 @@
     "axios": "^0.19.2",
     "click-outside-vue3": "^4.0.1",
     "client-base-v4": "4.0.22",
-    "client-dic-v3": "^3.0.25",
-    "client-eam-v3": "^3.0.59",
+    "client-dic-v3": "^3.0.26",
+    "client-eam-v3": "^3.0.60",
     "client-role-v3": "^3.0.15",
     "client-trace-v3": "^1.0.20",
     "client-sensor-v3": "^1.0.2",

+ 1 - 1
src/main.js

@@ -77,7 +77,7 @@ if (window.performance.navigation.type == 1) {
 router.beforeEach((to, from, next) => {
   let allowSound = localStorage.getItem('allowSound')
   // 不是登录页才进行消息推送
-  if(to.fullPath !== '/login'){
+  if(to.fullPath !== '/login' || !to.path.includes('/login')){
     PushMessage.openWebSocket()
     if(allowSound && allowSound == 'false'){
       PushMessage.messageModal()