-
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
[小程序]:枚举渲染时,组件无法加载 #4343
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
CC @yuche |
应该是键名,我之前也口误了…… |
这问题都大半年了,还没解决。 |
@shichaohui 你可以选择在等着taro next 3版本去玩react版本,其实小程序里面限制特别多,干嘛要这么放飞自我呢?嘻嘻 |
小程序的坑是真的多,这也不行那也不行的。 |
Taro3 应该没有这个问题了。 |
This was referenced Nov 30, 2023
This was referenced Feb 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
小程序端在使用枚举渲染组件的时候,无法正常的将组件渲染出来。需要把键值换成字符串才能正常渲染。
h5端可以正常渲染
复现步骤
期望行为
希望可以不用加单引号,否则格式化代码时会不小心去掉
系统信息
Taro CLI 1.3.2 environment info:
System:
OS: Windows 7
Binaries:
Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.17.3 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered: