|
|
@@ -177,6 +177,7 @@
|
|
|
uni.getSystemInfo({
|
|
|
success:function(res){
|
|
|
self.platom = res.platform;
|
|
|
+ self.checkVersion();
|
|
|
}
|
|
|
});
|
|
|
this.setLocale()
|
|
|
@@ -187,7 +188,6 @@
|
|
|
console.log('当前位置的纬度:' + res.latitude);
|
|
|
}
|
|
|
});
|
|
|
- this.checkVersion();
|
|
|
this.checkLogin();
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -286,7 +286,7 @@
|
|
|
this.appVersionCode = appVersionCode;
|
|
|
this.version = appVersionCode;
|
|
|
let self = this;
|
|
|
- checkVersion({"versionCode":appVersionCode}).then(res=>{
|
|
|
+ checkVersion({"versionCode":appVersionCode,"platom":this.platom}).then(res=>{
|
|
|
let cz_app_version =res.data;
|
|
|
console.log(cz_app_version)
|
|
|
if(cz_app_version != null){
|