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) => {
|
||||
if (isNotStudyMachine) return
|
||||
const {
|
||||
data: { data: res },
|
||||
} = await globalApi.checkVersion({
|
||||
const res = await globalApi.checkVersion({
|
||||
model: getManufacturer(),
|
||||
})
|
||||
system.latestVersion = res
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user