|
@@ -218,10 +218,11 @@ export default {
|
|
|
lvr_.style.cssText = style;
|
|
|
},
|
|
|
swichposition(objid) {
|
|
|
- objid = this.userid_;
|
|
|
+ console.log('in swichposition---' + objid);
|
|
|
if (!objid) {
|
|
|
return;
|
|
|
}
|
|
|
+ console.log(this.swichusers);
|
|
|
const width = document.documentElement.clientWidth;
|
|
|
for (const elm of this.swichusers) {
|
|
|
if (elm.swichuserid === objid) {
|
|
@@ -360,6 +361,7 @@ export default {
|
|
|
onSwichShmaiMessage(message) {
|
|
|
let body = _.get(message, 'body');
|
|
|
console.log(body);
|
|
|
+ console.log(this.user.uid);
|
|
|
if (body) {
|
|
|
body = JSON.parse(body);
|
|
|
if (body.shmaiid === this.user.uid) {
|