清空消息

This commit is contained in:
luyuan 2020-08-07 17:37:23 +08:00
parent 93dbdca573
commit 6eeebf25c0
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

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