# Conflicts:
#	src/pages/login/login/index.vue
master
hou 3 years ago
commit 8ca7100119

@ -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();
} }
///////////////// /////////////////

Loading…
Cancel
Save