修改报错
This commit is contained in:
@@ -159,6 +159,7 @@
|
||||
//请求后台接口 解析数据 对比版本
|
||||
selectNewApp().then(res => {
|
||||
res = res[0];
|
||||
console.log(uni.getSystemInfoSync().platform == 'ios',1101)
|
||||
let version;
|
||||
if (uni.getSystemInfoSync().platform == 'android') {
|
||||
version = res.version
|
||||
|
||||
@@ -68,7 +68,7 @@ export const useCommonStore = defineStore("common", {
|
||||
},
|
||||
setversion(a, b) {
|
||||
// a是當前應用的版本號 b是接口拿的
|
||||
console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this
|
||||
console.log('當前版本-' + a, '接口版本-' + b, '返回-' + this.isIosExamine, '判斷值-' + this
|
||||
.isExamines)
|
||||
// 再審核
|
||||
this.isExamines = this.compare(a, b)
|
||||
|
||||
Reference in New Issue
Block a user