mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
@@ -44,7 +44,9 @@ export class LoginView extends JNLayerBase {
|
||||
if(info){
|
||||
app.layer.Open(GUI.Tips,{text:"登录成功"});
|
||||
//保存Token
|
||||
StorageData.set(StorageEnum.Token,info.token);
|
||||
if(EnvCurrent != Env.Server){
|
||||
StorageData.set(StorageEnum.Token,info.token);
|
||||
}
|
||||
this.resolve(info.token);
|
||||
this.onJNClose();
|
||||
}
|
||||
|
Reference in New Issue
Block a user