Commit 82a31f0a authored by liujiangnan's avatar liujiangnan

fix:

parent d951fbb7
......@@ -586,7 +586,8 @@ export default class NewClass extends middleLayerBase {
saveLastGameData(callback) {
// 游客不保存
if (this.isLogin == false) {
return true;
callback && callback(true);
return;
}
const token = cc.sys.localStorage.getItem('token');
this.callNetworkApiGet('/api/oxford/v1/kid/info', { token }, (res) => {
......
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