fix: 改用event.params.text直接取值,不用${text}占位符
This commit is contained in:
parent
a526a2222d
commit
35750d5938
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user