Tencent / Tencent/tdesign-miniprogram
[notice-bar] visible 使用变量控制为false时控制台报错
Open
Nobody has claimed this yet.
need confirm
- Dominant language
- Vue
- Stars
- 1.8k
- Forks
- 337
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 19
Description
tdesign-miniprogram 版本
1.1.10
重现链接
No response
重现步骤
.js 文件:
Page({
data: {
noticeVisible: false,
logs: []
}
})
.wxml 文件:
<t-notice-bar visible="{{noticeVisible}}" content="这是一条普通的通知信息"></t-notice-bar>
期望结果
No response
实际结果
基础库版本
2.33.0
补充说明
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the notice-bar case from the .js and .wxml snippets with noticeVisible set to false, using the stated tdesign-miniprogram 1.1.10 and base library 2.33.0. Inspect the notice-bar implementation and its existing tests or test entry points, if present. Done means the same binding no longer produces a console error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100