ant-design / pro-editor

🕹️ The Ultimate Editor UI Framework and Components
https://pro-editor.antdigital.dev
MIT License
208 stars 26 forks source link

fix: 修复 SortableList 受控更新错误 #78

Closed rdmclin2 closed 1 year ago

rdmclin2 commented 1 year ago

修复 SortableList 受控更新错误

github-actions[bot] commented 1 year ago

🎊 PR Preview 1ed7783078e51e23e79aec2a7dc243d2bb488a29 has been successfully built and deployed to https://ant-design-pro-editor-preview-pr-78.surge.sh

:clock1: Build time: 93.502s

🤖 By surge-preview

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 86.20% and project coverage change: -1.46% :warning:

Comparison is base (73eba2c) 87.68% compared to head (1ed7783) 86.23%. Report is 16 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #78 +/- ## ========================================== - Coverage 87.68% 86.23% -1.46% ========================================== Files 336 372 +36 Lines 21726 23487 +1761 Branches 972 1035 +63 ========================================== + Hits 19051 20254 +1203 - Misses 2675 3233 +558 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/TipGuide/demos/footer.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1RpcEd1aWRlL2RlbW9zL2Zvb3Rlci50c3g=) | `90.00% <ø> (-0.48%)` | :arrow_down: | | [src/TipGuide/demos/normal.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1RpcEd1aWRlL2RlbW9zL25vcm1hbC50c3g=) | `100.00% <ø> (ø)` | | | [src/TipGuide/demos/localStorage.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1RpcEd1aWRlL2RlbW9zL2xvY2FsU3RvcmFnZS50c3g=) | `73.84% <73.84%> (ø)` | | | [src/SortableList/demos/controlled.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9kZW1vcy9jb250cm9sbGVkLnRzeA==) | `86.11% <77.77%> (-3.18%)` | :arrow_down: | | [src/SortableList/demos/getId.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9kZW1vcy9nZXRJZC50c3g=) | `90.00% <87.50%> (-3.34%)` | :arrow_down: | | [src/ColumnList/ColumnList.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbHVtbkxpc3QvQ29sdW1uTGlzdC50c3g=) | `96.15% <94.23%> (-0.52%)` | :arrow_down: | | [src/SortableList/components/Item/index.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9jb21wb25lbnRzL0l0ZW0vaW5kZXgudHN4) | `95.07% <100.00%> (-0.14%)` | :arrow_down: | | [src/SortableList/container/StoreUpdater.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9jb250YWluZXIvU3RvcmVVcGRhdGVyLnRzeA==) | `100.00% <100.00%> (ø)` | | | [src/SortableList/demos/empty.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9kZW1vcy9lbXB0eS50c3g=) | `100.00% <100.00%> (ø)` | | | [src/SortableList/store/initialState.ts](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1NvcnRhYmxlTGlzdC9zdG9yZS9pbml0aWFsU3RhdGUudHM=) | `100.00% <100.00%> (ø)` | | | ... and [3 more](https://app.codecov.io/gh/ant-design/pro-editor/pull/78?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | | ... and [34 files with indirect coverage changes](https://app.codecov.io/gh/ant-design/pro-editor/pull/78/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 0.18.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: