pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

fix(form): 修复ListItem自定义样式和样式名称不生效的BUG

Open hqwlkj opened this issue 3 years ago • 3 comments
trafficstars

<ProFormList
            name={["default", "users"]}
            isValidateList
            alwaysShowItemLabel
            containerClassName={'containerClassName'}
            containerStyle={{marginInlineStart: '50px'}}>
....
</ProFormList>

目前是直接在最外层结构显示了 image

hqwlkj avatar Sep 23 '22 20:09 hqwlkj

🎊 PR Preview has been successfully built and deployed to https://pro-components-preview-pr-5982.surge.sh

github-actions[bot] avatar Sep 23 '22 20:09 github-actions[bot]

看看ci怎么挂了

chenshuai2144 avatar Sep 25 '22 04:09 chenshuai2144

看看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.

一些组件的测试未通过。

hqwlkj avatar Sep 25 '22 15:09 hqwlkj

update一下吧

chenshuai2144 avatar Sep 27 '22 19:09 chenshuai2144

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.

codecov[bot] avatar Oct 03 '22 09:10 codecov[bot]