fix: urlwidget+PopupWindow无法替换${text},改用newwindow+window.open()
This commit is contained in:
parent
190e4e435f
commit
4a649aa98f
@ -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()"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user