From c77a2bc181384fc148fc8883788a302f7c14c6dc Mon Sep 17 00:00:00 2001 From: lxfu1 <954055752@qq.com> Date: Thu, 14 Dec 2023 10:45:44 +0100 Subject: [PATCH] fix: start error --- client/.umirc.ts | 4 +++- client/src/constants/index.ts | 3 --- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/client/.umirc.ts b/client/.umirc.ts index 3c9af0d3..a06cfb4e 100644 --- a/client/.umirc.ts +++ b/client/.umirc.ts @@ -1,9 +1,11 @@ import { defineConfig } from 'umi'; import routes from './src/config/routes'; -import { ANTD_VERSION, GI_SDK_APP_VERSION } from './src/constants/index'; process.env.MFSU_AD = 'none'; +export const ANTD_VERSION = '4.24.0'; +export const GI_SDK_APP_VERSION = '1.2.0'; + export default defineConfig({ // only proxy when using `umi dev` // if the assets are built, will not proxy diff --git a/client/src/constants/index.ts b/client/src/constants/index.ts index 733000bd..3c2a1354 100644 --- a/client/src/constants/index.ts +++ b/client/src/constants/index.ts @@ -24,7 +24,4 @@ export const CONSOLE_LINKS = [ path: '/database', }, ]; - -export const ANTD_VERSION = '4.24.0'; -export const GI_SDK_APP_VERSION = '1.2.0'; export const PROXY_HOST = `http://${window.location.hostname}:7001`;