-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 使用qrcode-svg替换qrcode #1565
Conversation
Someone is attempting to deploy a commit to a Personal Account owned by @qier222 on Vercel. @qier222 first needs to authorize it. |
src/views/loginAccount.vue
Outdated
<div | ||
v-show="qrCodeSvg" | ||
class="qr-code-container" | ||
v-html="qrCodeSvg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
盡量避免使用 v-html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个包没办法,输出就是一个完整的svg标签
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用了一个比较脏的做法避免 v-html,请review
🌚 還是 v-html 好了⋯⋯ |
把这个包fork一份改一下?我想在v2里也用这个,v2里有主题色的修改,每次重新生成新的svg感觉不太合适 |
现在我测试是没有问题了,但是这个库有一个潜在的问题,它的样式是写在svg的 |
No description provided.