We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd09c1b commit 53db535Copy full SHA for 53db535
packages/components/qrcode/qrcode.tsx
@@ -28,10 +28,6 @@ export default defineComponent({
28
// color[fgColor]:自定义颜色 > 主题色适配 > 默认颜色[#000000]
29
const finalFgColor = computed(() => props.color || themeFgColor.value || DEFAULT_FRONT_COLOR);
30
31
- if (!props.value) {
32
- return null;
33
- }
34
-
35
const imageSettings = computed<ImageSettings>(() => {
36
return {
37
src: props.icon,
packages/tdesign-vue-next/.changelog/pr-5982.md
@@ -0,0 +1,6 @@
1
+---
2
+pr_number: 5982
3
+contributor: Wesley-0808
4
5
+
6
+- fix(QRCode): 修复初始 value 值为空时,组件无法渲染的问题 @Wesley-0808 ([#5982](https://github.com/Tencent/tdesign-vue-next/pull/5982))
0 commit comments