|
|
@ -150,8 +150,9 @@ export default class LoginPage extends BasePage {
|
|
|
|
console.log('image', this.image);
|
|
|
|
console.log('image', this.image);
|
|
|
|
console.log('Version////', this.Version);
|
|
|
|
console.log('Version////', this.Version);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Version = '1.0.0';
|
|
|
|
Version = '1.0.2';
|
|
|
|
async update() {
|
|
|
|
async update() {
|
|
|
|
|
|
|
|
try {
|
|
|
|
await session.QueryVersion();
|
|
|
|
await session.QueryVersion();
|
|
|
|
if (this.Version < session.Version) {
|
|
|
|
if (this.Version < session.Version) {
|
|
|
|
// 版本更新提示
|
|
|
|
// 版本更新提示
|
|
|
@ -189,6 +190,10 @@ export default class LoginPage extends BasePage {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
console.log('error', e);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.go();
|
|
|
|
this.go();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/////////////////无用代码无用代码
|
|
|
|
/////////////////无用代码无用代码
|
|
|
|