diff --git a/src/components/common/QRCodeDialog.tsx b/src/components/common/QRCodeDialog.tsx index 1d618bb..12861dd 100644 --- a/src/components/common/QRCodeDialog.tsx +++ b/src/components/common/QRCodeDialog.tsx @@ -16,7 +16,7 @@ export default function QRCodeDialog({ }: { header: string; url: string; - img: string; + img?: string; children: React.ReactNode; subHeader?: string; buttonText?: string; @@ -37,7 +37,7 @@ export default function QRCodeDialog({ {/* 二维码 */}