Repository navigation
Conversation
dvd233
requested review from
anlyyao,
betavs,
jarmywang,
jin0209,
novlan1 and
zydemail
as code owners
October 9, 2026 16:40
This was referenced Oct 15, 2026
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
🔗 相关 Issue
源码排查发现的问题,无关联 Issue。
💡 需求背景和解决方案
TreeSelect 已显示选项后,将
options清空为[],两端的buildTreeOptions()都会直接返回,原有父列和子列因此继续显示。在空选项分支中清空渲染用的
treeOptions。保留选中值,不触发选择事件;选项重新传入后仍按原有选择构建列。没有改变非空选项处理或 API。验证:
customValue、defaultValue、字段别名、初始空值、异步填充和清空后恢复。_triggerwarning)、Prettier 和 diff 检查通过。生产模式npm run build:dist与原生 uniapprelease:prepare完成且无构建错误;后者为源码分发准备及 LESS 编译,未运行完整 H5/微信应用构建。Browser component fixture (synthetic data, options=[]):
📝 更新日志
tdesign-miniprogram
options清空后仍显示旧选项列的问题。@tdesign/uniapp
options清空后仍显示旧选项列的问题。☑️ 请求合并前的自查清单