diff --git a/packages/zent/assets/form.scss b/packages/zent/assets/form.scss index 5b239a720..10d3d6e79 100644 --- a/packages/zent/assets/form.scss +++ b/packages/zent/assets/form.scss @@ -9,6 +9,16 @@ flex-shrink: 0; display: inline-flex; flex-basis: 120px; + + &.zent-form-label-required { + &::before { + @include theme-color(color, error, 2); + content: '*'; + display: inline-block; + font-size: 16px; + margin-right: 6px; + } + } } &-error {