Skip to content
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(colorpicker): 修复最近使用颜色的功能 #1019

Merged
merged 1 commit into from
Jul 1, 2022
Merged

fix(colorpicker): 修复最近使用颜色的功能 #1019

merged 1 commit into from
Jul 1, 2022

Conversation

LittlehorseXie
Copy link
Contributor

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

💡 需求背景

问题原因:useDefault改为useControlled后,没有加默认值

📝 更新日志

  • fix(colorpicker): 修复最近使用颜色的功能

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2022

Codecov Report

Merging #1019 (9aeaa6a) into develop (7b04365) will increase coverage by 0.12%.
The diff coverage is 58.26%.

@@             Coverage Diff             @@
##           develop    #1019      +/-   ##
===========================================
+ Coverage    60.40%   60.53%   +0.12%     
===========================================
  Files          937      951      +14     
  Lines        16498    16586      +88     
  Branches      3743     3759      +16     
===========================================
+ Hits          9966    10040      +74     
- Misses        6532     6546      +14     
Impacted Files Coverage Δ
src/date-picker/DatePicker.tsx 16.21% <0.00%> (ø)
src/date-picker/DatePickerPanel.tsx 12.90% <0.00%> (ø)
src/date-picker/DateRangePicker.tsx 10.41% <0.00%> (ø)
src/date-picker/DateRangePickerPanel.tsx 10.37% <0.00%> (ø)
src/date-picker/base/Header.tsx 42.42% <ø> (ø)
src/date-picker/defaultProps.ts 100.00% <ø> (ø)
src/date-picker/panel/PanelContent.tsx 70.58% <0.00%> (ø)
src/date-picker/panel/RangePanel.tsx 85.00% <ø> (ø)
src/date-picker/panel/SinglePanel.tsx 94.11% <ø> (ø)
src/form/_example/validator.jsx 33.33% <ø> (ø)
... and 32 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c761de...9aeaa6a. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2022

完成

@carolin913 carolin913 merged commit 6455b06 into Tencent:develop Jul 1, 2022
This was referenced Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants