3lang3 / react-vant

React mobile UI Components base on Vant
https://react-vant.3lang.dev
MIT License
1.32k stars 189 forks source link

🐛 [Bug]: List组件加载更多失败后,doLoadMore会重新抛出exception,导致unhandledrejection #604

Closed AdonLee closed 1 year ago

AdonLee commented 1 year ago

Which React Vant packages are impacted?

What version of React Vant are you using?

3.0.0

Reproduce live demo(codesandebox or stackblitz)?

No response

Descripition

不要重新抛出exception

seame1on commented 1 year ago

同样遇见这个问题,onLoad里请求抛出异常会报错,应该如何将异常传给List组件

3lang3 commented 1 year ago

方便给个复现的demo吗

seame1on commented 1 year ago

方便给个复现的demo吗

组件库 demo 就能复现