Kaynağa Gözat

去掉个人信息

root 2 yıl önce
ebeveyn
işleme
c70c47d54e
1 değiştirilmiş dosya ile 6 ekleme ve 13 silme
  1. 6 13
      pages/app/header-json.js

+ 6 - 13
pages/app/header-json.js

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