diff --git a/pages/index/index.vue b/pages/index/index.vue index ef67373..cfefe1f 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -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 diff --git a/store/common.js b/store/common.js index 92279dc..26e6554 100644 --- a/store/common.js +++ b/store/common.js @@ -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)