判断版本号
This commit is contained in:
@@ -72,7 +72,7 @@ export const useCommonStore = defineStore("common", {
|
|||||||
let resversion = (b.split('.').join('')) * 1
|
let resversion = (b.split('.').join('')) * 1
|
||||||
console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this
|
console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this
|
||||||
.isExamines)
|
.isExamines)
|
||||||
if (appversion > resversion) {
|
if (this.compare(appversion, resversion)) {
|
||||||
// 再審核
|
// 再審核
|
||||||
this.isExamines = 1
|
this.isExamines = 1
|
||||||
}
|
}
|
||||||
@@ -94,7 +94,7 @@ export const useCommonStore = defineStore("common", {
|
|||||||
|
|
||||||
},
|
},
|
||||||
getters: {
|
getters: {
|
||||||
isIosExamine: function() {
|
isIosExamine: function () {
|
||||||
if (!this.isIos) {
|
if (!this.isIos) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user