fix: urlwidget+PopupWindow无法替换${text},改用newwindow+window.open()

This commit is contained in:
yumoqing 2026-07-06 14:00:41 +08:00
parent 190e4e435f
commit 4a649aa98f

View File

@ -5,14 +5,7 @@
{
"wid": "self",
"event": "recognized",
"actiontype": "urlwidget",
"target": "PopupWindow",
"popup_options": {
"title": "扫码结果",
"dismiss_events": ["cancel"],
"height": "85%",
"width": "85%"
},
"actiontype": "newwindow",
"options": {
"url": "${text}"
}
@ -25,4 +18,4 @@
"script": "this.dismiss()"
}
]
}
}