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: '清除成功',