清空消息

This commit is contained in:
2020-08-07 17:37:23 +08:00
parent 93dbdca573
commit 6eeebf25c0

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