vue3中defineAsyncComponent的高级用法中delay和timeout等怎么用? #9189
Unanswered
HXHSHR
asked this question in
Help/Questions
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我只是想利用设置timeout为0毫秒,让其显示我定义的报错组件。

vue文档也是这么写的:
然而,事与愿违,页面上并没有显示这里配置的报错组件,只是控制台上报超时的错
这是我的代码
相同的问题还有delay,我即使设置为300000,也不会产生任何效果的延迟,就感觉只有loader属性可行,其他属性都是摆设一样
Beta Was this translation helpful? Give feedback.
All reactions