chore: v1 悦码增加天梯校验
This commit is contained in:
@@ -30,4 +30,4 @@ VITE_BASE_API_URL = 'https://custom-chart-api.shiyuegame.com/'
|
||||
VITE_PLATFORM_URL = 'https://y-code.shiyue.com/'
|
||||
VITE_DESIGNER_URL = 'https://y-code-designer.shiyue.com/'
|
||||
VITE_RENDERER_URL = 'https://y-code-renderer.shiyue.com/'
|
||||
Y_CODE_V1_URL = 'https://custom-chart.shiyuegame.com/'
|
||||
VITE_V1_URL = 'https://custom-chart.shiyuegame.com/'
|
||||
|
||||
@@ -10,4 +10,4 @@ VITE_BASE_API_URL = 'https://custom-chart-pre-api.shiyue.com/'
|
||||
VITE_PLATFORM_URL = 'https://y-code-pre.shiyue.com/'
|
||||
VITE_DESIGNER_URL = 'https://y-code-designer-pre.shiyue.com/'
|
||||
VITE_RENDERER_URL = 'https://y-code-renderer-pre.shiyue.com/'
|
||||
Y_CODE_V1_URL = 'https://custom-chart.shiyue.com/'
|
||||
VITE_V1_URL = 'https://custom-chart.shiyue.com/'
|
||||
|
||||
@@ -18,7 +18,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
name: moduleName,
|
||||
redirect: '/acl/list',
|
||||
meta: {
|
||||
title: '权限管理',
|
||||
title: '用户管理',
|
||||
icon: 'ant-design:user-outlined',
|
||||
},
|
||||
children: [
|
||||
@@ -39,6 +39,23 @@ const routes: Array<RouteRecordRaw> = [
|
||||
fileId: '1hsd0407hf',
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: 'user',
|
||||
name: `${moduleName}-user`,
|
||||
meta: {
|
||||
title: '用户列表',
|
||||
keepAlive: true,
|
||||
icon: 'ant-design:list',
|
||||
},
|
||||
component: () =>
|
||||
h(RendererAdapter, {
|
||||
url: VITE_RENDERER_URL,
|
||||
name: 'y-code-platform-user-list',
|
||||
applicationId: LOW_CODE_APPLICATION_ID,
|
||||
projectId: LOW_CODE_PROJECT_ID,
|
||||
fileId: '7pfu5radx',
|
||||
}),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -30,6 +30,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
url: VITE_DESIGNER_URL,
|
||||
name: 'y-code-designer',
|
||||
projectId: 4,
|
||||
accessToken: localStorage.getItem('y-code-access-token'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
@@ -52,6 +53,7 @@ const routes: Array<RouteRecordRaw> = [
|
||||
h(RendererAdapter, {
|
||||
url: VITE_V1_URL,
|
||||
name: 'y-code-v1',
|
||||
accessToken: localStorage.getItem('y-code-access-token'),
|
||||
// sync: true,
|
||||
// alive: true,
|
||||
degrade: true,
|
||||
|
||||
Reference in New Issue
Block a user