更新
This commit is contained in:
@@ -31,11 +31,22 @@
|
||||
password: '',
|
||||
showPassword: false,
|
||||
saveUser: this.$store.getters.loginName ? true : false,
|
||||
disabled: false
|
||||
disabled: false,
|
||||
version: '',
|
||||
versionCode: ''
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
checkUpdate();
|
||||
created () {
|
||||
//#ifdef APP-PLUS
|
||||
// 获取本地应用资源版本号
|
||||
plus.runtime.getProperty(plus.runtime.appid, (info) => {
|
||||
this.version = info.version;
|
||||
this.versionCode = info.versionCode ;
|
||||
if (Number(this.versionCode) < 102) {
|
||||
checkUpdate();
|
||||
}
|
||||
})
|
||||
//#endif
|
||||
},
|
||||
methods: {
|
||||
toSaveUser() {
|
||||
|
||||
Reference in New Issue
Block a user