From 6eeebf25c021a79185b6c1821f39fdc99f3bcf26 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 7 Aug 2020 17:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=A9=BA=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/information/information.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/information/information.vue b/pages/information/information.vue index 726086f..f44ad09 100644 --- a/pages/information/information.vue +++ b/pages/information/information.vue @@ -161,10 +161,14 @@ }, // 清空消息 delMessage(){ + this.$u.api.delMessage({ type : "all" }).then((res)=>{ console.log(res) + this.imService.friends = {}; + this.information_dl = []; + uni.setStorageSync('imlist',JSON.stringify([])); if(res.errCode == 0){ this.$refs.uToast.show({ title: '清除成功',