Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit30bd3e4

Browse files
authored
fix(tdesign): fix a series of components related to typography (#813)
1 parent6656ec5 commit30bd3e4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/core/resolvers/tdesign.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ export function TDesignResolver(options: TDesignResolverOptions = {}): Component
4646
}
4747
}
4848

49+
if(name.startsWith('TTypography')||name.startsWith('Typography')){
50+
return{
51+
name:name.slice(name.startsWith('TTypography') ?11 :10),
52+
from:`tdesign-${library}${importFrom}`,
53+
}
54+
}
55+
4956
if(name.match(/^T[A-Z]/)||pluginList.includes(name)){
5057
constimportName=name.match(/^T[A-Z]/) ?name.slice(1) :name
5158

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp