fix: 改用event.params.text直接取值,不用${text}占位符

This commit is contained in:
yumoqing 2026-07-06 14:04:32 +08:00
parent a526a2222d
commit 35750d5938

View File

@ -7,7 +7,7 @@
"event": "recognized", "event": "recognized",
"actiontype": "script", "actiontype": "script",
"target": "self", "target": "self",
"script": "window.open('${text}', '_blank');" "script": "if(event && event.params && event.params.text) window.open(event.params.text, '_blank');"
}, },
{ {
"wid": "self", "wid": "self",