From cd837f7efcfaf427b478236c5cd2eb98e78d170b Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 11 七月 2025 17:30:31 +0800 Subject: [PATCH] fix: s --- .umirc.ts | 34 ++++++++++++++++++++-------------- 1 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index 3d4c594..ccd2c9e 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -1,34 +1,40 @@ import { defineConfig } from '@umijs/max'; - +console.log('env', process.env.UMI_APP_PUBLIC_PATH); export default defineConfig({ antd: {}, access: {}, model: {}, initialState: {}, request: {}, + mfsu: false, + qiankun: { + slave: {}, + }, + base: '/v2/', + publicPath: process.env.UMI_APP_PUBLIC_PATH, // layout: { // title: '@umijs/max', // }, routes: [ { path: '/', - redirect: '/home', + redirect: '/about', }, { - name: '棣栭〉', - path: '/home', + name: '鍏充簬澶ц禌', + path: '/about', component: './Home', }, - { - name: '鏉冮檺婕旂ず', - path: '/access', - component: './Access', - }, - { - name: ' CRUD 绀轰緥', - path: '/table', - component: './Table', - }, + // { + // name: '鏉冮檺婕旂ず', + // path: '/access', + // component: './Access', + // }, + // { + // name: ' CRUD 绀轰緥', + // path: '/table', + // component: './Table', + // }, ], npmClient: 'pnpm', }); -- Gitblit v1.9.1