|
@@ -8,7 +8,7 @@ import { BaseView } from '../../../framework/layer/BaseView';
|
|
|
import { AsyncQueue, NextFunction } from '../../../framework/queue/AsyncQueue';
|
|
|
import { BulletlPool, DecoratePool, FloatTextPool, GoodsPool, IconPool, MaterialPool, PopPool, RewardPool, RolePool, TipsPool } from '../../common/Pool';
|
|
|
import { UserData } from '../../data/UserData';
|
|
|
-import { AccountData } from '../../data/AccountData.ts';
|
|
|
+import { AccountData } from '../../data/AccountData';
|
|
|
import { LoginMgr } from '../../common/LoginManager';
|
|
|
import { StringUtil } from '../../../framework/util/StringUtil';
|
|
|
import { GameEvent } from '../../data/GameEvent';
|
|
@@ -115,7 +115,7 @@ export class LoginUI extends BaseView {
|
|
|
let choose_server = UserData.save_locally('choose_server', null, {})
|
|
|
let lastArea = UserData.save_locally('LastArea', null, '1');
|
|
|
AccountData.setAreanId(lastArea);
|
|
|
- AccountData.setSid(UserData.save_locally('lastsid',null,-1))
|
|
|
+ AccountData.setSid(UserData.save_locally('lastsid',null,-1),false)
|
|
|
|
|
|
this.loginData = {
|
|
|
url: getParameterByName("url") || ServergatewaylistConf.data.debug['Url' + lastArea],
|