Commit a0539f31 by 施宇

11

parent 22e1daef
Showing with 1 additions and 1 deletions
...@@ -94,7 +94,7 @@ Component({ ...@@ -94,7 +94,7 @@ Component({
id: userId, id: userId,
name: companyName, name: companyName,
img: avatar, img: avatar,
touserid: this.data.username.id == userId ? this.data.username.touserid : this.data.username.id, touserid: this.data.username.id == userId ? this.data.username.touserid : this.data.username.id,//前者是拿接收的数据,后者是拿发送的数据
name1: this.data.username.name == companyName ? this.data.username.name1 : this.data.username.name, name1: this.data.username.name == companyName ? this.data.username.name1 : this.data.username.name,
img1: this.data.username.name == companyName ? this.data.username.img1 : this.data.username.img, img1: this.data.username.name == companyName ? this.data.username.img1 : this.data.username.img,
timer: WebIM.time() timer: WebIM.time()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment