Browse Source

feat 企业信息页面

anxiaoxia 1 year ago
parent
commit
113bb74eed
3 changed files with 9 additions and 1 deletions
  1. 5 0
      config/routes.ts
  2. 1 1
      src/hooks/useMenuList.ts
  3. 3 0
      src/pages/Information/index.jsx

+ 5 - 0
config/routes.ts

@@ -27,6 +27,11 @@
         component: './Member',
       },
       {
+        path: '/information',
+        name: 'information',
+        component: './Information',
+      },
+      {
         path: '/member/invalid',
         name: 'member.invalid',
         component: './Member/invalid',

+ 1 - 1
src/hooks/useMenuList.ts

@@ -19,7 +19,7 @@ export default function () {
             icon: homeImgMap.staff,
           },
           {
-            id: 'company',
+            id: 'information',
             title: '企业信息',
             icon: homeImgMap.staff,
           },

+ 3 - 0
src/pages/Information/index.jsx

@@ -0,0 +1,3 @@
+export default () => {
+  return <div>企业信息页面</div>;
+};