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
我做了点击查看,点击隐藏两个按钮,给控件做了一个可见性判断,结果发现隐藏之后再打开,canvas 部分不显示了, 找不到原因 控件line-chart.wxml 修改 <view wx:if="{{isShow}}" class="line_chart_container">
<view wx:if="{{isShow}}" class="line_chart_container">
控件line-chart.js 添加 properties: { isShow:{ type: Boolean, value: false, observer:"onShow" } },
properties: { isShow:{ type: Boolean, value: false, observer:"onShow" } },
The text was updated successfully, but these errors were encountered:
我暂时用hidden 来规避了wx:if 的问题
Sorry, something went wrong.
目前我也是用hidden处理,wx:if的确实存在问题,我怀疑是虽然wx:if重新进行了渲染,但是canvas实例还是之前的
No branches or pull requests
我做了点击查看,点击隐藏两个按钮,给控件做了一个可见性判断,结果发现隐藏之后再打开,canvas 部分不显示了, 找不到原因
控件line-chart.wxml 修改
<view wx:if="{{isShow}}" class="line_chart_container">
控件line-chart.js 添加
properties: { isShow:{ type: Boolean, value: false, observer:"onShow" } },
The text was updated successfully, but these errors were encountered: