fix:修复android检查更新失效
This commit is contained in:
parent
71bbe2d52d
commit
e25fb7495f
@ -214,9 +214,7 @@ export const globalStore = defineStore('global', () => {
|
|||||||
// 检测更新
|
// 检测更新
|
||||||
const checkStudyMachineUpdate = async (checkWeb = true) => {
|
const checkStudyMachineUpdate = async (checkWeb = true) => {
|
||||||
if (isNotStudyMachine) return
|
if (isNotStudyMachine) return
|
||||||
const {
|
const res = await globalApi.checkVersion({
|
||||||
data: { data: res },
|
|
||||||
} = await globalApi.checkVersion({
|
|
||||||
model: getManufacturer(),
|
model: getManufacturer(),
|
||||||
})
|
})
|
||||||
system.latestVersion = res
|
system.latestVersion = res
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user