Explorar o código

BottonMenu修改初始化websocket传参

付宇航 hai 1 ano
pai
achega
ded9da4bf6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/vBottomMenu.vue

+ 1 - 1
src/components/vBottomMenu.vue

@@ -1541,7 +1541,7 @@ export default {
         this.taskList = res.data
         this.taskCount = res.data.length
       })
-      this.initWebSocket('TASK_SOCKET', '/taskPush/', this.websockSid.userId)
+      this.initWebSocket('TASK_SOCKET', '/taskPush/', this.websockSid.deptId)
     },
     handleCheckedCitiesChangeBan(value) {
       this.choseLayerSwitchingList(this.banCheckList)