|
|
@@ -1,10 +1,10 @@
|
|
|
function getHeaderJson() {
|
|
|
let headerJson = {
|
|
|
"type": "page",
|
|
|
- "initApi": "/api/userInfo",
|
|
|
"body": [
|
|
|
{
|
|
|
"type": "flex",
|
|
|
+ "id": "u:e7752d0c1dbe",
|
|
|
"justify": "flex-end",
|
|
|
"items": [
|
|
|
{
|
|
|
@@ -66,18 +66,11 @@ function getHeaderJson() {
|
|
|
"buttons": [
|
|
|
{
|
|
|
"type": "button",
|
|
|
- "label": "个人信息",
|
|
|
- "actionType": "link",
|
|
|
- "link": "/view/user_info",
|
|
|
- "id": "u:57cf3ed9c568"
|
|
|
- },
|
|
|
- {
|
|
|
- "type": "button",
|
|
|
+ "label": "退出登录",
|
|
|
"actionType": "",
|
|
|
+ "id": "u:88d8afc464b5",
|
|
|
"url": "/login/out",
|
|
|
"blank": false,
|
|
|
- "label": "退出登录",
|
|
|
- "id": "u:88d8afc464b5",
|
|
|
"api": "/api/logout",
|
|
|
"onEvent": {
|
|
|
"click": {
|
|
|
@@ -110,11 +103,11 @@ function getHeaderJson() {
|
|
|
"block": true,
|
|
|
"trigger": "hover"
|
|
|
}
|
|
|
- ],
|
|
|
- "id": "u:e7752d0c1dbe"
|
|
|
+ ]
|
|
|
}
|
|
|
],
|
|
|
- "id": "u:d16525b6aae6"
|
|
|
+ "id": "u:d16525b6aae6",
|
|
|
+ "initApi": "/api/userInfo"
|
|
|
}
|
|
|
|
|
|
return headerJson
|