优化审核代码
This commit is contained in:
parent
b5d902a99d
commit
c05ee20821
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue