-
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
setState后某些属性在Render中没有产生更新 #832
Comments
可以更新 Taro 版本后再试试,当前稳定版本是 v1.0.7。 |
你的版本比较旧了,可以升级到最新的 1.0.7 版本来进行尝试,有一些更新需要注意的事项 |
@luckyadam @Chen-jj
|
【state】在 Taro 里是关键词,换一个单词即可。 state = {
// state: null,
_state: null
coverViewNowClass: "",
coverViewMakClass: ""
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
[问题描述:]
CiverView
点击修改state
中的值在页面中没有产生更新
复现步骤
[复现问题的步骤]
1.
CoverView
点击CoverView
点击事件state
事件
render
显示state
属性state
发生改变之后页面中的state
属性没有发生改变[或者可以直接贴源代码,能贴文字就不要截图]
// 这里可以贴代码
期望行为
[这里请用简洁清晰的语言描述你期望的行为]
报错信息
[这里请贴上你的完整报错截图或文字]
系统信息
补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]
The text was updated successfully, but these errors were encountered: