|
@@ -277,9 +277,10 @@ export default {
|
|
}, 2000);
|
|
}, 2000);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- console.log("qxj qwUserId:"+JSON.stringify(this.qwUser));
|
|
|
|
|
|
+ // console.log("qxj qwUserId:"+JSON.stringify(this.qwUser));
|
|
this.isFromLogin=this.$route.query.isFromLogin;
|
|
this.isFromLogin=this.$route.query.isFromLogin;
|
|
- if(this.isFromLogin!=1){
|
|
|
|
|
|
+ console.log("qxj isFromLogin:"+this.isFromLogin);
|
|
|
|
+ if(!this.qwIm.hasLogin){
|
|
this.initSocket(this.qwUser.deviceId);
|
|
this.initSocket(this.qwUser.deviceId);
|
|
}
|
|
}
|
|
this.UserData.id=this.qwUser.userId;
|
|
this.UserData.id=this.qwUser.userId;
|
|
@@ -616,6 +617,7 @@ export default {
|
|
|
|
|
|
handleMessageClick(e, key, message, instance) {
|
|
handleMessageClick(e, key, message, instance) {
|
|
console.log("点击了消息", e, key, message);
|
|
console.log("点击了消息", e, key, message);
|
|
|
|
+ console.log("qxj message:"+JSON.stringify(message));
|
|
if (key == "status") {
|
|
if (key == "status") {
|
|
instance.updateMessage({
|
|
instance.updateMessage({
|
|
id: message.id,
|
|
id: message.id,
|