diff --git a/config/config.dev.js b/config/config.dev.js index 7cb7a44..25f0c95 100644 --- a/config/config.dev.js +++ b/config/config.dev.js @@ -85,7 +85,7 @@ export default defineConfig({ define: { 'process.env': { // API_URL: "https://iadminapi.zhongshuai2023.com", - API_URL: "http://192.168.1.54:1002", + API_URL: "http://192.168.1.63:1002", WS_URL: "ws://lv.com", STATIC_URL: "http://lv.com", WEMAP_KEY: 'ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X' diff --git a/config/routes.ts b/config/routes.ts index eb50968..531965b 100644 --- a/config/routes.ts +++ b/config/routes.ts @@ -13,6 +13,12 @@ import { MenuDataItem } from '@ant-design/pro-components' * @doc https://umijs.org/docs/guides/routes */ export default [ + { + name: "首页", + path: "/", + icon: 'icon-barchart', + redirect: "/index", + }, { path: '/user/login', redirect: '/user/login', @@ -30,10 +36,6 @@ export default [ // 在面包屑中隐藏 hideInBreadcrumb: true, }, - { - path: '/', - redirect: '/404', - }, { path: '/system/uppass', redirect: '/system/uppass', diff --git a/dist/index.html b/dist/index.html index 24d6069..3c914eb 100644 --- a/dist/index.html +++ b/dist/index.html @@ -8,6 +8,6 @@
- +