-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
Description
Version
2.3.2
Reproduction link
https://jsfiddle.net/pu2dvgmn/8/
Steps to reproduce
After reproduction link was loaded, wait
What is expected?
When async components was resolved, a timeout is not occured.
What is actually happening?
When async components was resolved, a timeout is occured.
the following error in console log:
vue.js:437 [Vue warn]: Failed to resolve async component: ()=>({
component:new Promise((resolve)=>(
setTimeout(() =>
resolve({template:"<div>loaded</div>"}), 200)
)),
loading: {template:"<div>loading</div>"},
error: {template:"<div>timeout</div>"},
delay: 200,
timeout: 3000
})
Reason: timeout (3000ms)
h-keisuke, HerringtonDarkholme and gebilaoxiong