diff --git a/pages/index/index.vue b/pages/index/index.vue index 4864c5f..aba1c05 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -146,7 +146,7 @@ export default { this.getallorder(0); const user = uni.getStorageSync('userinfo'); console.log(user) - this.imService.login(user.userId,user.member_avatar,"") + this.imService.login(user.userId,user.member_nickname,user.member_avatar) this.imService.connectIM() // 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货 },