-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
获取不到props #4310
Comments
@mihuartuanr 哪个端,贴完整代码文本 |
微信小程序,可以看#1545,大体一致。或者,我稍后传一下代码。 |
调用
|
不用看了,我升级了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Taro1.2.0
使用的是
taro init myApp
安装的环境,有redux
包,在此前提下。constructor
中打印出来的this.props
是我默认设置的defaultProps
,而始终获取不到我通过组件属性传递过来的值,去掉defaultProps
,获取到的是undefined
。打印
this
是redux
的数据对象。同#1545
The text was updated successfully, but these errors were encountered: