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
rt
The text was updated successfully, but these errors were encountered:
代码贴出来看看哦
Sorry, something went wrong.
不太确定这里面的实现逻辑,如图,按该方式传递函数在原生小程序内是可以传过去的,但是taro中只有 test1 中的形式可以传递过去。其他是被 shakeFnFromObject 函数过滤掉了,test1 不知道为啥能够传递。
shakeFnFromObject
我们的场景是需要传递 function 类型的 validator 进去 form 组件,不知道能否按照原生小程序支持的特性来实现?
不是传递事件回调,而是复杂数据结构中包含有 function,比如:
const formConfig = [ { name: 'name', rules: [ { validator: val => !!val } ] } ]
@luckyadam
No branches or pull requests
rt
The text was updated successfully, but these errors were encountered: