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

fix(tdesign): add QRCode component support#880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
antfu merged 2 commits intounplugin:mainfromMrbunker:fix/tdesign-qrcode
Sep 1, 2025

Conversation

@Mrbunker
Copy link
Contributor

Description

Fix TDesign "QRCode" component cannot be imported due to case sensitivity.
Modify the export to be "QRCode" instead of "Qrcode".

image

Additional context

Code reference:https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/auto-import-resolver/src/resolver.ts

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz CodeflowRun & review this pull request inStackBlitz Codeflow.

@ilyaliaoilyaliao changed the titlefix: add QRCode component support to TDesign resolverfix(tdesign): add QRCode component supportAug 30, 2025
}
}

if(name.startsWith('TQrcode')||name.startsWith('Qrcode')){
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why needname.startsWith('Qrcode') here?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Because of the above code
(name.startsWith('TTypography') || name.startsWith('Typography'))

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I just tested it and found that startsWith('Qrcode') is redundant.
I will remove it

ilyaliao reacted with thumbs up emoji
@antfuantfu merged commited98de3 intounplugin:mainSep 1, 2025
6 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ilyaliaoilyaliaoilyaliao approved these changes

@antfuantfuAwaiting requested review from antfuantfu is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Mrbunker@ilyaliao@antfu

[8]ページ先頭

©2009-2025 Movatter.jp