-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Closed
Description
IMPORTANT: Please use the following link to create a new issue. If your issue was not created using the app above, it will be closed immediately.
注意:请按照下面的模板来新建 issue,不规范的 issue 会被立即关闭.
What problem does this feature solve?
当list的load事件失败时,提示用户加载失败,点击重新加载
Describe the solution you'd like
在load函数带一个参数,类似next方法,用户调用next方法,就不再执行check方法,除非用户点击重新加载
What does the proposed API look like?
@load="fetchSth"
methods: {
fetchSth(handleError => {
fetch("http://www.baidu.com").then(res => {
// pass
}).catch(err => {
handleError();
})
})
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels