Commit 13e29889 authored by liujiangnan's avatar liujiangnan

fix: 数据缓存

parent 10731828
...@@ -548,6 +548,7 @@ export default class NewClass extends middleLayerBase { ...@@ -548,6 +548,7 @@ export default class NewClass extends middleLayerBase {
if (bundleName == 'NJ_login') { if (bundleName == 'NJ_login') {
// 如果跳到登录页,则清理一些缓存的使用数据 // 如果跳到登录页,则清理一些缓存的使用数据
this.data = {}; this.data = {};
this.kidInfo = null;
cc.sys.localStorage.setItem("token", ""); cc.sys.localStorage.setItem("token", "");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment