版本更新优化

This commit is contained in:
GaoHao 2025-01-20 11:15:28 +08:00
parent c72c0e9baf
commit f67ff84af3
1 changed files with 1 additions and 8 deletions

View File

@ -67,15 +67,8 @@ export const useCommonStore = defineStore("common", {
}
},
setversion(a, b) {
// a是當前應用的版本號 b是接口拿的
// console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this
// .isExamines)
// 再審核
return new Promise(async (resolve, reject) => {
// a是當前應用的版本號 b是接口拿的
// console.log('當前版本-' + appversion, '接口版本-' + resversion, '返回-' + this.isIosExamine, '判斷值-' + this
// .isExamines)
// 再審核
// console.log('當前版本-' + a, '接口版本-' + b, '判斷值-' + this.isExamines)
this.isExamines = await this.compare(a, b)
resolve(this.isExamines)
})