chore: 更新底层引擎

This commit is contained in:
wangxuefeng
2025-03-07 21:01:56 +08:00
parent db10bb6a6c
commit 99015ecbd2
11 changed files with 337 additions and 285 deletions

View File

@@ -27,7 +27,7 @@ instance.interceptors.response.use(
if (response.data.code === 401) {
const userStore = useUserStore();
console.log('用户未授权或登录已过期,即将跳转...');
userStore.logout();
// userStore.logout();
// 返回一个永远不会resolve的Promise防止后续代码执行
return new Promise(() => {});
}

View File

@@ -29,7 +29,7 @@ const routes: Array<RouteRecordRaw> = [
// degrade: true,
applicationId: LOW_CODE_APPLICATION_ID,
projectId: LOW_CODE_PROJECT_ID,
fileId: 'b91ra0ej4',
fileId: '1hsd0407hf',
},
},
component: () => import('@/components/renderer-adapter/index.vue'),

View File

@@ -34,6 +34,26 @@ const routes: Array<RouteRecordRaw> = [
},
component: () => import('@/components/renderer-adapter/index.vue'),
},
{
path: 'file',
name: `${moduleName}-file`,
meta: {
title: 'dsl 文件列表',
keepAlive: true,
icon: 'ant-design:file',
app: {
url: Y_CODE_RENDERER_URL,
name: 'y-code-platform-project-file',
// sync: true,
// alive: true,
// degrade: true,
applicationId: LOW_CODE_APPLICATION_ID,
projectId: LOW_CODE_PROJECT_ID,
fileId: '7pftwojzu',
},
},
component: () => import('@/components/renderer-adapter/index.vue'),
},
],
},
];

View File

@@ -11,7 +11,7 @@ const routes: Array<RouteRecordRaw> = [
name: moduleName,
meta: {
title: '静态文件管理',
icon: 'ant-design:file-outlined',
icon: 'ant-design:file',
},
children: [
{
@@ -20,7 +20,7 @@ const routes: Array<RouteRecordRaw> = [
meta: {
title: '静态文件列表',
keepAlive: true,
icon: 'ant-design:list',
icon: 'ant-design:file',
app: {
url: Y_CODE_RENDERER_URL,
name: 'y-code-platform-application-list',