Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions packages/components/qrcode/qrcode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ export default defineComponent({
// color[fgColor]:自定义颜色 > 主题色适配 > 默认颜色[#000000]
const finalFgColor = computed(() => props.color || themeFgColor.value || DEFAULT_FRONT_COLOR);

if (!props.value) {
return null;
}

const imageSettings = computed<ImageSettings>(() => {
return {
src: props.icon,
Expand Down
6 changes: 6 additions & 0 deletions packages/tdesign-vue-next/.changelog/pr-5982.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
pr_number: 5982
contributor: Wesley-0808
---

- fix(QRCode): 修复初始 value 值为空时,组件无法渲染的问题 @Wesley-0808 ([#5982](https://github.com/Tencent/tdesign-vue-next/pull/5982))
Loading