We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题描述 之前发了一个帖子说的是picker-view设置下标为零不起作用,之后看了源代码,发现代码有问题。 文件是uni-app/src/core/view/components/picker-view/index.vue 1、val===oldVal 个人认为这个判断是没有意义的 2、val.find((item, index) => item !== oldVal[index]) 如果oldVal为[1],而val为[0]的时候结果还是0,这样会导致页面不更新。
The text was updated successfully, but these errors were encountered:
fix: 修复 picker-view 组件某些情况 value 变更无法检测的问题 fixed #1290 #1162
cefdbf8
此条判断用于过滤 app-v3 service 层数据回流
Sorry, something went wrong.
感谢大神的帮助
zhetengbiji
No branches or pull requests
问题描述
之前发了一个帖子说的是picker-view设置下标为零不起作用,之后看了源代码,发现代码有问题。
文件是uni-app/src/core/view/components/picker-view/index.vue
1、val===oldVal 个人认为这个判断是没有意义的
2、val.find((item, index) => item !== oldVal[index]) 如果oldVal为[1],而val为[0]的时候结果还是0,这样会导致页面不更新。
The text was updated successfully, but these errors were encountered: