pro-components
pro-components copied to clipboard
fix(form): 修复ListItem自定义样式和样式名称不生效的BUG
<ProFormList
name={["default", "users"]}
isValidateList
alwaysShowItemLabel
containerClassName={'containerClassName'}
containerStyle={{marginInlineStart: '50px'}}>
....
</ProFormList>
目前是直接在最外层结构显示了

🎊 PR Preview has been successfully built and deployed to https://pro-components-preview-pr-5982.surge.sh
看看ci怎么挂了
看看ci怎么挂了
Snapshot Summary
› 15 snapshots failed from 1 test suite. Inspect your code changes or run `yarn run test:coverage -u` to update them.
Test Suites: 1 failed, 62 passed, 63 total
Tests: 15 failed, 1121 passed, 1136 total
Snapshots: 15 failed, 386 passed, 401 total
Time: 1473.412 s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
一些组件的测试未通过。
update一下吧
Codecov Report
Base: 98.84% // Head: 98.81% // Decreases project coverage by -0.02% :warning:
Coverage data is based on head (
9491c39) compared to base (1af5f76). Patch has no changes to coverable lines.
Additional details and impacted files
@@ Coverage Diff @@
## master #5982 +/- ##
==========================================
- Coverage 98.84% 98.81% -0.03%
==========================================
Files 268 268
Lines 7878 7879 +1
Branches 2797 2719 -78
==========================================
- Hits 7787 7786 -1
- Misses 91 93 +2
| Impacted Files | Coverage Δ | |
|---|---|---|
| packages/form/src/components/List/ListItem.tsx | 98.59% <ø> (ø) |
|
| packages/field/src/components/Money/index.tsx | 97.70% <0.00%> (-2.30%) |
:arrow_down: |
| packages/form/src/layouts/ModalForm/index.tsx | 98.64% <0.00%> (-0.06%) |
:arrow_down: |
| packages/form/src/layouts/DrawerForm/index.tsx | 94.93% <0.00%> (ø) |
|
| packages/provider/src/index.tsx | 96.62% <0.00%> (+0.03%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.