diff --git a/CHANGELOG.md b/CHANGELOG.md index 70b8c341fe4bd3fec338c92262c7ddae5b771238..92aa914e118f2aa8021ab940ecadf6de9125a757 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Added +- 表单新增支持分组图标,表单项图标 - 新增图片裁剪上传组件 ### Changed diff --git a/src/control/form/form-detail/form-group-panel/form-group-panel.scss b/src/control/form/form-detail/form-group-panel/form-group-panel.scss index ad8b642ae848330a83a65201f625b83561e44011..b8a96b79ea99d7f961cae659e77e45bb84480c9e 100644 --- a/src/control/form/form-detail/form-group-panel/form-group-panel.scss +++ b/src/control/form/form-detail/form-group-panel/form-group-panel.scss @@ -42,6 +42,10 @@ $form-group-content: ( font-size: getCssVar('form-group-caption', 'font-size'); font-weight: getCssVar('form-group-caption', 'font-weight'); color: getCssVar('form-group-caption', 'text-color'); + + @include m('icon'){ + padding-right: getCssVar(spacing,tight); + } } @include e(toolbar) { diff --git a/src/control/form/form-detail/form-group-panel/form-group-panel.tsx b/src/control/form/form-detail/form-group-panel/form-group-panel.tsx index 81e6ec2b1bb393a277ad654f6d0fe40c4b85d452..00ab5691cdd82691b8a0cd09f7645f26ad8a6719 100644 --- a/src/control/form/form-detail/form-group-panel/form-group-panel.tsx +++ b/src/control/form/form-detail/form-group-panel/form-group-panel.tsx @@ -94,6 +94,12 @@ export const FormGroupPanel = defineComponent({