From 748678d6cd3cbdc7337bb27f99dfbf5e6f8a740a Mon Sep 17 00:00:00 2001 From: wangxuefeng Date: Wed, 19 Mar 2025 16:25:13 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E8=B7=AF=E7=94=B1=E8=B7=A8=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E4=BC=A0=E5=8F=82=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/designer/.env.development | 4 ++-- apps/platform/src/router/routes/modules/application.ts | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/designer/.env.development b/apps/designer/.env.development index 5b8fe7d..f08373b 100644 --- a/apps/designer/.env.development +++ b/apps/designer/.env.development @@ -5,8 +5,8 @@ VITE_NODE_ENV = 'development' VITE_BASE_URL = / VITE_PORT = 10011 -VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/' -# VITE_BASE_API_URL = 'https://custom-chart-api.shiyuegame.com/' +# VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/' +VITE_BASE_API_URL = 'https://custom-chart-api.shiyuegame.com/' VITE_DEBUG_MODE = true diff --git a/apps/platform/src/router/routes/modules/application.ts b/apps/platform/src/router/routes/modules/application.ts index 4e7ab4b..efcf56b 100644 --- a/apps/platform/src/router/routes/modules/application.ts +++ b/apps/platform/src/router/routes/modules/application.ts @@ -5,9 +5,6 @@ import WujieVueRendererAdapter from '@sy/wujie-vue3-renderer-adapter'; import { LOW_CODE_PROJECT_ID, VITE_RENDERER_URL } from '#/constants'; import { router } from '#/router'; -// 微前端路由 -const moduleName = 'application'; - const routes: Array = [ { path: '/application', @@ -33,6 +30,7 @@ const routes: Array = [ fileId: 'b91n1y9yr', projectId: LOW_CODE_PROJECT_ID, router, + getRouter: () => router, route, degrade: false, height: '100%',