Skip to content

Commit 33bf230

Browse files
fix(tdesign): t-radio-group t-radio-button (#290)
1 parent 4e387e6 commit 33bf230

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/resolvers/tdesign.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ function getSideEffects(importName: string, options: TDesignResolverOptions): Si
2828
if (!importStyle) return
2929

3030
if (fileName === 'config-provider') return
31+
32+
if (fileName === 'radio-group' || fileName === 'radio-button') fileName = 'radio'
3133

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

0 commit comments

Comments
 (0)