This commit is contained in:
haomingming
2023-04-08 09:51:45 +08:00
parent 6fa2a5eaa9
commit 3f40c4c237
69 changed files with 1274 additions and 338 deletions
+2
View File
@@ -56,12 +56,14 @@ Page({
wx.setStorageSync('client_user_id_'+usertype, "");
if(wx.$TUIKit){
let promise = wx.$TUIKit.logout();
wx.$TUIKit = undefined;
promise.then(function(imResponse) {
console.log(imResponse.data); // 登出成功
}).catch(function(imError) {
console.warn('logout error:', imError);
});
}
app.clearAllInterval()
app.go("/Pages/index/index");
} else if (res.cancel) {
console.log('用户点击取消')