退出登录后,恢复拼图状态
This commit is contained in:
parent
8486c6f5f7
commit
452ed02612
@ -223,6 +223,7 @@ cc.Class({
|
|||||||
.then(rep => {
|
.then(rep => {
|
||||||
if (rep.errcode === 0) {
|
if (rep.errcode === 0) {
|
||||||
self.mainScrollContent.getComponent('scrollContent').toggleLoginStatus(false);
|
self.mainScrollContent.getComponent('scrollContent').toggleLoginStatus(false);
|
||||||
|
self.mainScrollContent.getComponent('scrollContent').updatePuzzle([0,0,0,0,0,0,0,0,0]);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user