bugfix
This commit is contained in:
parent
9d38f0f672
commit
4f015d46ae
@ -2,12 +2,20 @@
|
|||||||
"widgettype": "QRCodeSCan",
|
"widgettype": "QRCodeSCan",
|
||||||
"options": {},
|
"options": {},
|
||||||
"binds": [
|
"binds": [
|
||||||
"wid": "self",
|
{
|
||||||
"event": "recognized",
|
"wid": "self",
|
||||||
"actiontype": "urlwidget",
|
"event": "recognized",
|
||||||
"target": "root.page_center",
|
"actiontype": "urlwidget",
|
||||||
"options": {
|
"target": "root.page_center",
|
||||||
"url": "$text"
|
"options": {
|
||||||
|
"url": "$text"
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
"wid": "self",
|
||||||
|
"event": "recognized",
|
||||||
|
"actiontype": "script",
|
||||||
|
"target": "#PopupWindow",
|
||||||
|
"script": "this.dismiss()"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"icon": "{{entire_url('/bricks/imgs/qr-scan.svg')}}",
|
"icon": "{{entire_url('/bricks/imgs/qr-scan.svg')}}",
|
||||||
"name":"qr-scan",
|
"name":"qr-scan",
|
||||||
"label":"扫码",
|
"label":"扫码",
|
||||||
"url":"{{entire_url('qr_scan.ui')}}"
|
"url":"{{entire_url('qr_scan.ui')}}",
|
||||||
"popup_options":{
|
"popup_options":{
|
||||||
"height": "300px",
|
"height": "300px",
|
||||||
"width": "300px"
|
"width": "300px"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user