chore: 整体优化
This commit is contained in:
1
apps/platform/src/constants/index.ts
Normal file
1
apps/platform/src/constants/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from '@sy/low-code-shared/constants';
|
||||
@@ -19,7 +19,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
title: '低代码编辑器',
|
||||
icon: 'ant-design:edit-outlined',
|
||||
app: {
|
||||
url: 'https://localhost:5173',
|
||||
url: 'https://localhost:10011/__vtj__/',
|
||||
name: 'low-code-designer',
|
||||
sync: true,
|
||||
alive: true,
|
||||
@@ -34,10 +34,10 @@ const routes: Array<RouteRecordRaw> = [
|
||||
meta: {
|
||||
title: '低代码渲染器',
|
||||
keepAlive: true,
|
||||
hideInMenu: true,
|
||||
// hideInMenu: true,
|
||||
icon: 'ant-design:eye-outlined',
|
||||
app: {
|
||||
url: 'https://localhost:9000',
|
||||
url: 'https://localhost:10010',
|
||||
name: 'low-code-renderer',
|
||||
// sync: true,
|
||||
// alive: true,
|
||||
@@ -46,6 +46,24 @@ const routes: Array<RouteRecordRaw> = [
|
||||
},
|
||||
component: () => import('@/components/micro-container/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'y-code-v1',
|
||||
name: `${moduleName}-y-code-v1`,
|
||||
meta: {
|
||||
title: '悦码 1.0',
|
||||
// keepAlive: true,
|
||||
// hideInMenu: true,
|
||||
icon: 'ant-design:delete-outlined',
|
||||
app: {
|
||||
url: 'http://localhost:10012',
|
||||
name: 'y-code-v1',
|
||||
// sync: true,
|
||||
// alive: true,
|
||||
// degrade: true,
|
||||
},
|
||||
},
|
||||
component: () => import('@/components/micro-container/index.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user