chore: vite-plugin-cdn-import
All checks were successful
CI / cache-and-install (push) Successful in 56s

This commit is contained in:
严浩
2024-08-14 11:26:12 +08:00
parent 1c2a6ced9e
commit 192448fbc1
6 changed files with 91 additions and 6 deletions

View File

@ -8,7 +8,7 @@ export const usePageData = defineBasicLoader(
async (...args) => {
console.log('[DefineLoaderFn]', 'args :>> ', args);
const [route] = args;
await new Promise((resolve) => setTimeout(resolve, 1000));
await new Promise((resolve) => setTimeout(resolve, 520));
return { idFromPreviousPage: route.params.id, someOtherData: 'someOtherData' };
},
{