|
@@ -358,7 +358,15 @@ export default {
|
|
let body = _.get(message, 'body');
|
|
let body = _.get(message, 'body');
|
|
if (body) {
|
|
if (body) {
|
|
body = JSON.parse(body);
|
|
body = JSON.parse(body);
|
|
|
|
+ this.$message({
|
|
|
|
+ message: body.userid,
|
|
|
|
+ type: 'success',
|
|
|
|
+ });
|
|
if (body.userid === this.user.uid) {
|
|
if (body.userid === this.user.uid) {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: 'uu--' + this.user.uid,
|
|
|
|
+ type: 'success',
|
|
|
|
+ });
|
|
this.swichposition(body.userid);
|
|
this.swichposition(body.userid);
|
|
}
|
|
}
|
|
}
|
|
}
|