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
fix(tree-select): use token in tree-select custom render Empty #48585
base: master
Are you sure you want to change the base?
Conversation
Run & review this pull request in StackBlitz Codeflow. |
|
👁 Visual Regression Report for PR #48585 Passed ✅
🎊 Congrats! No visual-regression diff found. |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #48585 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 745 745
Lines 12947 12947
Branches 3383 3383
=========================================
Hits 12947 12947 ☔ View full report in Codecov by Sentry. |
自定义 empty 的话,组件就更不应该预设字色了,你不知道用户希望展现什么样的内容。 |
我理解这个不算自定义场景,应该算是设计语言。select、cascader等组件是有这个预设字体色的,应该保持统一
|
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
TreeSelect
在自定义empty时token失效,添加color: token.colorTextDisabled,
📝 Changelog
☑️ Self-Check before Merge