Skip to content

Commit 9d48e28

Browse files
lovetingyuan黄百途
and
黄百途
authored
fix: error option in async component migration page (#759)
Co-authored-by: 黄百途 <huangbaitu@meituan.com>
1 parent 2aa4491 commit 9d48e28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/migration/async-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ const asyncPageWithOptions = defineAsyncComponent({
6666
loader: () => import('./NextPage.vue'),
6767
delay: 200,
6868
timeout: 3000,
69-
error: ErrorComponent,
70-
loading: LoadingComponent
69+
errorComponent: ErrorComponent,
70+
loadingComponent: LoadingComponent
7171
})
7272
```
7373

0 commit comments

Comments
 (0)