|
@@ -839,7 +839,10 @@
|
|
|
this.taskCount = res.data.length
|
|
|
})
|
|
|
if(this.weosocket)
|
|
|
- this.initWebSocket('TASK_SOCKET','/taskPush/',this.websockSid.userId)
|
|
|
+ {
|
|
|
+ this.initWebSocket('TASK_SOCKET','/taskPush/',this.websockSid.userId)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
|
|
|
selectMessageById(id) {
|
|
@@ -848,7 +851,10 @@
|
|
|
this.selectMessageList();
|
|
|
});
|
|
|
if(this.weosocket)
|
|
|
- this.initWebSocket('MESSAGE_SOCKET','/messagePush/',this.websockSid.userId)
|
|
|
+ {
|
|
|
+ this.initWebSocket('MESSAGE_SOCKET','/messagePush/',this.websockSid.userId)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
/** 获取消息列表 */
|
|
|
selectMessageList(){
|