优化审核代码

This commit is contained in:
duan 2025-01-20 10:48:44 +08:00
parent b5d902a99d
commit c05ee20821
1 changed files with 2 additions and 6 deletions

View File

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