From 3211af2247ac4974cf29040c90673b3902883ede Mon Sep 17 00:00:00 2001 From: "PC-202306242200\\Administrator" <1648263436@qq.com> Date: Fri, 20 Sep 2024 18:32:02 +0800 Subject: [PATCH] no message --- config/config.dev.js | 2 +- config/routes.ts | 10 ++++++---- dist/index.html | 2 +- ...c.js => src__pages__index__index.5e897dc7.async.js} | 2 +- dist/{umi.be584f3c.js => umi.2a43d856.js} | 4 ++-- src/.umi-production/core/route.tsx | 4 ++-- src/.umi/core/route.tsx | 4 ++-- src/pages/{home => index}/index.tsx | 0 8 files changed, 15 insertions(+), 13 deletions(-) rename dist/{src__pages__home__index.e93aa289.async.js => src__pages__index__index.5e897dc7.async.js} (85%) rename dist/{umi.be584f3c.js => umi.2a43d856.js} (98%) rename src/pages/{home => index}/index.tsx (100%) 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 @@
- +