调整重设密码界面在场景树上的位置

This commit is contained in:
MrZ_26
2022-10-23 04:53:51 +08:00
parent d12f8a27e7
commit 3ae0e80ce5
2 changed files with 2 additions and 4 deletions

View File

@@ -171,7 +171,7 @@ function NET.codeLogin(email,code)
USER.aToken=res.data.accessToken
saveUser()
SCN.pop()SCN.push('net_menu')
SCN.go('reset_password','fade')
SCN.swapTo('reset_password')
end
end

View File

@@ -17,9 +17,7 @@ scene.widgetList={
WIDGET.newButton{name='league',x=640, y=180,w=350,h=120,font=40,color='D',code=goScene'net_league'},
WIDGET.newButton{name='ffa', x=640, y=360,w=350,h=120,font=40,color='D',code=function() MES.new('warn',text.notFinished)--[[NET.enterRoom({name='ffa'})]] end},
WIDGET.newButton{name='rooms', x=640, y=540,w=350,h=120,font=40,code=goScene'net_rooms'},
WIDGET.newButton{name='resetPW',x=680, y=40,w=180,h=60,color='dG',code=function()
SCN.go('reset_password','none')
end},
WIDGET.newButton{name='resetPW',x=680, y=40,w=180,h=60,color='dG',code=function() SCN.go('reset_password','none') end},
WIDGET.newButton{name='logout',x=880, y=40,w=180, h=60,color='dR',
code=function()
if tryBack() then