-
-
Notifications
You must be signed in to change notification settings - Fork 46.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
chore(site): improve site #39504
chore(site): improve site #39504
Conversation
@@ -89,7 +88,6 @@ export default function fromDumiProps<P extends object>( | |||
expand, | |||
// FIXME: confirm is there has any case? | |||
highlightedStyle: '', | |||
theme: searchParams.get('theme'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2022-12-13.01-29-20.mp4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
问题是啥?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为 url 里面的 theme 会有多个, 比如 url=xxx?theme=compact&theme=dark 通过 theme: searchParams.get('theme')
只会获取第一个
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #39504 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 546 546
Lines 9363 9362 -1
Branches 2653 2652 -1
=========================================
- Hits 9363 9362 -1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
上面两个地址 theme 都会被吞
|
PR 里写下改动点? |
已经补充~ |
基本上就这些改动吧,后面再有调整,我重新开 PR。 改动太多了 Review 有点辛苦 |
* master: fix: Table should not warn DefaultProps (ant-design#39571) type: Button type optimization (ant-design#39533) docs: Add Form prefix demo (ant-design#39580) site: icon update (ant-design#39534) demo: update demo (ant-design#39576) fix: segmented icon margin (ant-design#39575) type: add FloatButtonGroupProps (ant-design#39553) fix: add img cdn link for site (ant-design#39554) docs: Tree conduction (ant-design#39566)
@Wxh16144 这个引起了 #39687 (comment) 的问题。 |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
与 site: icon update #39534 重复了, 已解决冲突📝 Changelog
☑️ Self-Check before Merge