小程序修正
This commit is contained in:
1 parent
5a92bab835
commit
6ae4c109ce
12 files changed
+232
-62
No files matched your search
@@ -108,9 +108,9 @@ const store = {
|
||||
|
||||
reset() {
|
||||
memory.user = null;
|
||||
memory.siteConfig = null;
|
||||
memory.entitlements = [];
|
||||
store.clearTokens();
|
||||
// 站点配置与登录态无关,保留;否则退出登录后页面文案会退回默认值
|
||||
wx.removeStorageSync(config.STORAGE.USER);
|
||||
wx.removeStorageSync(config.STORAGE.ENTITLEMENTS);
|
||||
notify();
|
||||
@@ -118,4 +118,3 @@ const store = {
|
||||
};
|
||||
|
||||
module.exports = store;
|
||||
|
||||
Reference in new issue
Block a user