From 4453742f3c5e2901b194552b7f191e2c419407eb Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 7 Aug 2020 15:07:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=81=8A=E5=A4=A9=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 4 ++++ pages/messages/messagesList.vue | 11 ++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 9c844dc..fd7de16 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -150,6 +150,10 @@ export default { this.getswiper(); // 获取可投诉列表 this.getcarlist(); + const user = uni.getStorageSync('userinfo'); + console.log(user) + this.imService.login(user.userId,"","") + this.imService.connectIM() // 订单状态: 0:全部 1已付款未发货 2已发货 3已完成 4申请退款/退货 5已退款/退货 6拒绝退款/退货 }, onShow() { diff --git a/pages/messages/messagesList.vue b/pages/messages/messagesList.vue index 7bcb00d..b907c15 100644 --- a/pages/messages/messagesList.vue +++ b/pages/messages/messagesList.vue @@ -1,11 +1,11 @@