test: 路由跨应用传参测试
This commit is contained in:
parent
9a2f29e3e4
commit
748678d6cd
@ -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
|
||||
|
||||
|
@ -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<RouteRecordRaw> = [
|
||||
{
|
||||
path: '/application',
|
||||
@ -33,6 +30,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
fileId: 'b91n1y9yr',
|
||||
projectId: LOW_CODE_PROJECT_ID,
|
||||
router,
|
||||
getRouter: () => router,
|
||||
route,
|
||||
degrade: false,
|
||||
height: '100%',
|
||||
|
Loading…
x
Reference in New Issue
Block a user