Skip to content
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

关于原生微信小程序buttons渲染问题 #462

Open
scancode911 opened this issue Feb 7, 2024 · 1 comment
Open

关于原生微信小程序buttons渲染问题 #462

scancode911 opened this issue Feb 7, 2024 · 1 comment

Comments

@scancode911
Copy link

小程序原生开发
事因:
抽奖次数是在抽奖按钮上显示的, 测试人员发现抽奖一次后,再去单独修改按钮上的文字不生效
找了半天发现作者有这样一段话
image

建议:
作者可以把canvas层级问题优化的代码去掉了 ,因为小程序已经支持原生组件同层渲染了详见:https://developers.weixin.qq.com/miniprogram/dev/component/native-component.html

@scancode911 scancode911 changed the title 关于buttons渲染问题 关于原生微信小程序buttons渲染问题 Feb 7, 2024
@buuing
Copy link
Owner

buuing commented Feb 7, 2024

他说是支持了, 但实际应用还是会有一些问题, 至于你的这个问题, 可以主动调用一次隐藏图片, 再调用一次渲染图片, 即可更新canvas的数据

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants