[Bug Report] List 组件,加载错误之后,依旧会有loading转圈圈
JunmeiChen opened this issue · comments
JunmeiChen commented
Reproduction Link
Vant Version
4.8.10
Describe the Bug
List 组件,加载错误之后,依旧会有loading转圈圈
Reproduce Steps
List 组件,加载错误之后,依旧会有loading转圈圈
Device / Browser
chrome
invalid w commented
@JunmeiChen 文档代码少写一句, 改成这样就好了
fetchSomeThing().catch(() => {
loading.value = false;
error.value = true;
});