mirror of
https://github.com/Karaka-Management/oms-Home.git
synced 2026-02-14 12:08:39 +00:00
implement navigation actions
This commit is contained in:
parent
c4178837e2
commit
c765d481ac
|
|
@ -20,8 +20,9 @@
|
||||||
"type": 1,
|
"type": 1,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Logout",
|
"name": "Logout",
|
||||||
"uri": "{/prefix}api/logout?{?}",
|
"uri": "{/prefix}api/logout",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
|
"action": "[{\"key\": 1, \"listener\": \"click\", \"action\": [{\"key\": 1, \"type\": \"event.prevent\"}, {\"key\": 2, \"type\": \"message.request\", \"uri\": \"/api/logout\", \"method\": \"POST\", \"request_type\": \"raw\"}, {\"key\": 3, \"type\": \"dom.reload\"}]}]",
|
||||||
"icon": "fa fa-power-off",
|
"icon": "fa fa-power-off",
|
||||||
"order": 999,
|
"order": 999,
|
||||||
"from": "Home",
|
"from": "Home",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user