[TQRCode] 시나리오대로 변경 (추가적으로 시나리오 변경 대기중)
This commit is contained in:
@@ -31,7 +31,9 @@ export default function TQRCode({ text, menu, width = "128", height = "128" }) {
|
||||
}
|
||||
|
||||
const qrcode = new window.QRCode(qrcodeRef.current, {
|
||||
text: `${text}&nowMenu=${menu}&dvcIndex=${deviceInfo.dvcIndex}`,
|
||||
text: menu
|
||||
? `${text}&nowMenu=${menu}&dvcIndex=${deviceInfo.dvcIndex}`
|
||||
: text,
|
||||
width: scaleW(width),
|
||||
height: scaleH(height),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user