update:定义版本

master
guoshuang 3 years ago
parent b25d23c3e3
commit c161f898a8

@ -150,7 +150,7 @@ 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 = '2.0.2'; Version = '1.0.0';
async update() { async update() {
await session.QueryVersion(); await session.QueryVersion();
if (this.Version < session.Version) { if (this.Version < session.Version) {

Loading…
Cancel
Save