This commit is contained in:
duan
2025-01-20 10:47:01 +08:00
parent bb197f1236
commit ccf9625f41

View File

@@ -68,11 +68,9 @@ export const useCommonStore = defineStore("common", {
},
setversion(a, b) {
// a是當前應用的版本號 b是接口拿的
let appversion = (a.split('.').join('')) * 1
let resversion = (b.split('.').join('')) * 1
console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this
.isExamines)
if (this.compare(appversion, resversion) == 1) {
if (this.compare(a, b) == 1) {
// 再審核
this.isExamines = 1
}