소스 검색

显示名字

root 2 년 전
부모
커밋
1233dc4424
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/app/header-json.js

+ 2 - 2
pages/app/header-json.js

@@ -1,7 +1,7 @@
 function getHeaderJson() {
     let headerJson = {
         "type": "page",
-        // "initApi": "http://localhost:8081/page/menu",
+        "initApi": "http://localhost:8081/api/userInfo",
         "body": [
           {
             "type": "flex",
@@ -61,7 +61,7 @@ function getHeaderJson() {
               },
               {
                 "type": "dropdown-button",
-                "label": "名字e",
+                "label": "$userName",
                 "className": "header-menu",
                 "buttons": [
                   {