|
|
@@ -65,7 +65,7 @@ export default class Login extends cc.Component {
|
|
|
update() {
|
|
|
if (!this.hasDeviceBackInit) {
|
|
|
this.hasDeviceBackInit = true;
|
|
|
- this.getDeviceInfoBack();
|
|
|
+ this.getAppVersion();
|
|
|
}
|
|
|
|
|
|
//如果更新没有结束,就不进入正常加载流程
|
|
|
@@ -174,7 +174,7 @@ export default class Login extends cc.Component {
|
|
|
}
|
|
|
|
|
|
/** 获取设备信息后 */
|
|
|
- public async getDeviceInfoBack() {
|
|
|
+ public async getAppVersion() {
|
|
|
//获取appid 和 配置version
|
|
|
JsbSystem.getWxAppId();
|
|
|
//获取登录需要的sessionkey
|