Skip to content

Commit

Permalink
feat(tdesign): t-form-item (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanjingchao authored Feb 6, 2022
1 parent 8d82df1 commit b32d7aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/resolvers/tdesign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ function getSideEffects(importName: string, options: TDesignResolverOptions): Si

if (fileName === 'radio-group' || fileName === 'radio-button')
fileName = 'radio'


if (fileName === 'form-item')
fileName = 'form'

if (importStyle === 'less')
return `tdesign-${library}/esm/${fileName}/style`

Expand Down

0 comments on commit b32d7aa

Please sign in to comment.