diff --git a/store/common.js b/store/common.js index 4efd46f..92279dc 100644 --- a/store/common.js +++ b/store/common.js @@ -70,12 +70,8 @@ export const useCommonStore = defineStore("common", { // a是當前應用的版本號 b是接口拿的 console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this .isExamines) - if (this.compare(a, b) == 1) { - // 再審核 - this.isExamines = 1 - }else{ - this.isExamines = 0 - } + // 再審核 + this.isExamines = this.compare(a, b) }, // 判断版本号 compare(version1, version2) {