退出登录后,恢复拼图状态

This commit is contained in:
zhl 2019-02-27 18:48:22 +08:00
parent 8486c6f5f7
commit 452ed02612

View File

@ -223,6 +223,7 @@ cc.Class({
.then(rep => {
if (rep.errcode === 0) {
self.mainScrollContent.getComponent('scrollContent').toggleLoginStatus(false);
self.mainScrollContent.getComponent('scrollContent').updatePuzzle([0,0,0,0,0,0,0,0,0]);
}
})
.catch(err => {