diff --git a/config/config.ts b/config/config.ts index 60d7976..d52205c 100644 --- a/config/config.ts +++ b/config/config.ts @@ -87,8 +87,8 @@ export default defineConfig({ plugins: ['duration'], }, define: { - 'process.env.BASE_URL': 'http://xft-cms.51jingcheng.com/api', // 接口服务器地址 - // 'process.env.BASE_URL': 'http://cms.gjxfc.com/api', // 接口服务器地址 + // 'process.env.BASE_URL': 'http://xft-cms.51jingcheng.com/api', // 接口服务器地址 + 'process.env.BASE_URL': 'http://cms.gjxfc.com/api', // 接口服务器地址 }, /** * @name 国际化插件 diff --git a/src/pages/Dashboard/index.tsx b/src/pages/Dashboard/index.tsx index 1eecb1f..6d8ba8a 100644 --- a/src/pages/Dashboard/index.tsx +++ b/src/pages/Dashboard/index.tsx @@ -252,9 +252,7 @@ const Welcome: React.FC = () => {