fix:修复android检查更新失效

This commit is contained in:
M了个J 2026-05-19 19:08:50 +08:00
parent 71bbe2d52d
commit e25fb7495f

View File

@ -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