diff --git a/src/stores/global.ts b/src/stores/global.ts index 0b21ca5..e08e837 100644 --- a/src/stores/global.ts +++ b/src/stores/global.ts @@ -214,9 +214,7 @@ export const globalStore = defineStore('global', () => { // 检测更新 const checkStudyMachineUpdate = async (checkWeb = true) => { if (isNotStudyMachine) return - const { - data: { data: res }, - } = await globalApi.checkVersion({ + const res = await globalApi.checkVersion({ model: getManufacturer(), }) system.latestVersion = res