清空消息
This commit is contained in:
parent
93dbdca573
commit
6eeebf25c0
@ -161,10 +161,14 @@
|
|||||||
},
|
},
|
||||||
// 清空消息
|
// 清空消息
|
||||||
delMessage(){
|
delMessage(){
|
||||||
|
|
||||||
this.$u.api.delMessage({
|
this.$u.api.delMessage({
|
||||||
type : "all"
|
type : "all"
|
||||||
}).then((res)=>{
|
}).then((res)=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
this.imService.friends = {};
|
||||||
|
this.information_dl = [];
|
||||||
|
uni.setStorageSync('imlist',JSON.stringify([]));
|
||||||
if(res.errCode == 0){
|
if(res.errCode == 0){
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '清除成功',
|
title: '清除成功',
|
||||||
|
Loading…
Reference in New Issue
Block a user