Open klren0312 opened 4 weeks ago
需要在请求前加await nextTick()
await nextTick()
export async function GetSoftwareListApi (): Promise<Software> { await nextTick() const res = await useFetch('http://127.0.0.1:4523/m1/5346725-0-default/getAppList', { key: genUUID() }) return unref(res.data) as Software }
需要在请求前加
await nextTick()