From 35750d5938fe0a6ab04a636b073eb35fd07e6292 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 6 Jul 2026 14:04:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=B9=E7=94=A8event.params.text?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E5=8F=96=E5=80=BC=EF=BC=8C=E4=B8=8D=E7=94=A8?= =?UTF-8?q?${text}=E5=8D=A0=E4=BD=8D=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/qr_scan.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/qr_scan.ui b/wwwroot/qr_scan.ui index c99797e..aee5ac0 100644 --- a/wwwroot/qr_scan.ui +++ b/wwwroot/qr_scan.ui @@ -7,7 +7,7 @@ "event": "recognized", "actiontype": "script", "target": "self", - "script": "window.open('${text}', '_blank');" + "script": "if(event && event.params && event.params.text) window.open(event.params.text, '_blank');" }, { "wid": "self",