From 3ae0e80ce52f78ea2973f67811e928f94b7ad5d7 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Sun, 23 Oct 2022 04:53:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=87=8D=E8=AE=BE=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E7=95=8C=E9=9D=A2=E5=9C=A8=E5=9C=BA=E6=99=AF=E6=A0=91?= =?UTF-8?q?=E4=B8=8A=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/net.lua | 2 +- parts/scenes/net_menu.lua | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/parts/net.lua b/parts/net.lua index caf6212f..8a400487 100644 --- a/parts/net.lua +++ b/parts/net.lua @@ -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 diff --git a/parts/scenes/net_menu.lua b/parts/scenes/net_menu.lua index c219c997..35cf7570 100644 --- a/parts/scenes/net_menu.lua +++ b/parts/scenes/net_menu.lua @@ -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