浏览代码

BottonMenu修改初始化websocket传参

付宇航 1 年之前
父节点
当前提交
ded9da4bf6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)