更新
This commit is contained in:
@@ -31,11 +31,22 @@
|
|||||||
password: '',
|
password: '',
|
||||||
showPassword: false,
|
showPassword: false,
|
||||||
saveUser: this.$store.getters.loginName ? true : false,
|
saveUser: this.$store.getters.loginName ? true : false,
|
||||||
disabled: false
|
disabled: false,
|
||||||
|
version: '',
|
||||||
|
versionCode: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
created () {
|
||||||
checkUpdate();
|
//#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: {
|
methods: {
|
||||||
toSaveUser() {
|
toSaveUser() {
|
||||||
|
|||||||
Reference in New Issue
Block a user