优化审核代码

This commit is contained in:
duan
2025-01-20 10:48:44 +08:00
parent b5d902a99d
commit c05ee20821

View File

@@ -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) {