Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

up-waterfall 一直报错 Maximum recursive updates exceeded in component <View>. #590

Open
Hs-Shrek opened this issue Dec 16, 2024 · 0 comments

Comments

@Hs-Shrek
Copy link

Hs-Shrek commented Dec 16, 2024

问题描述
在使用 up-waterfall 瀑布流组件时,从后端接口获取数据时,会报错超出最大递归数量了。 即使在接口回调之后 赋值为[],仍然会出现该错误

测试了一下,v-model绑定的空数组的时候,就会出现该问题,但是看到你们在3.3.43修复了该问题。不知为何还是会出现

v-model绑定的数据我是通过 const state = reactive({ list: [] }) 这种形式声明的

并且在接口回调后 通过 state.list = records 这种形式重新赋值的

如果是 let list = reactive([]) 这种形式声明空数组并且绑定就不会出现该报错。 但是这种形式对于改变数据比较麻烦,希望看看源代码如何结局。谢谢

截图
image
image

版本(请填写以下信息)

  • HBuilderX:[例如 4.36]
  • uview-plus:[例如 3.3.54]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant