-
Notifications
You must be signed in to change notification settings - Fork 277
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
[notice-bar] visible 使用变量控制为false时控制台报错 #2176
Labels
question
This is a question, not a bug
Comments
👋 @zavatar,感谢给 TDesign 提出了 issue。 |
试了下,并不会报错,麻烦确认下是不是这个组件的问题 |
试试这个片段能复现么:https://developers.weixin.qq.com/s/6ZXexDmd7eJs ,只有false时会报错,报错堆栈最后指向notice-bar.js。基础库版本需要新一些,比较旧的不会报错。 |
我换了 2.33.0 基础库就开始出现问题了。我研究下 |
我这里报错是因为 错误:
正确:
②
③
④ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-miniprogram 版本
1.1.10
重现链接
No response
重现步骤
.js 文件:
.wxml 文件:
<t-notice-bar visible="{{noticeVisible}}" content="这是一条普通的通知信息"></t-notice-bar>
期望结果
No response
实际结果
基础库版本
2.33.0
补充说明
No response
The text was updated successfully, but these errors were encountered: