|
|
@@ -73,12 +73,34 @@ function getHeaderJson() {
|
|
|
},
|
|
|
{
|
|
|
"type": "button",
|
|
|
- "actionType": "ajax",
|
|
|
+ "actionType": "",
|
|
|
"url": "/login/out",
|
|
|
"blank": false,
|
|
|
"label": "退出登录",
|
|
|
"id": "u:88d8afc464b5",
|
|
|
- "api": "http://localhost:8081/api/logout"
|
|
|
+ "api": "http://localhost:8081/api/logout",
|
|
|
+ "onEvent": {
|
|
|
+ "click": {
|
|
|
+ "actions": [
|
|
|
+ {
|
|
|
+ "args": {
|
|
|
+ "options": {
|
|
|
+ "silent": false
|
|
|
+ },
|
|
|
+ "api": {
|
|
|
+ "url": "http://localhost:8081/api/logout",
|
|
|
+ "method": "post",
|
|
|
+ "messages": {
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ "outputVar": "responseResult",
|
|
|
+ "actionType": "ajax"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "weight": 0
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
],
|
|
|
"id": "u:d324269526b9",
|