实现拉取房间列表

框架跟进
This commit is contained in:
MrZ_26
2022-09-29 20:29:45 +08:00
parent f41999c019
commit 468bbc8053
6 changed files with 38 additions and 31 deletions

View File

@@ -20,12 +20,12 @@ scene.widgetList={
WIDGET.newButton{name='logout',x=880, y=40,w=180, h=60,color='dR',
code=function()
if tryBack()then
if USER.uid then
NET.closeWS()
USER.uid=false
USER.authToken=false
SCN.back()
end
USER.__data.email=false
USER.__data.password=false
USER.__data.rToken=false
USER.__data.aToken=false
NET.closeWS()
SCN.back()
end
end},
WIDGET.newButton{name='back', x=1140,y=640,w=170,h=80,sound='back',font=60,fText=CHAR.icon.back,code=backScene},