chore: 更新底层引擎
This commit is contained in:
@@ -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(() => {});
|
||||
}
|
||||
|
||||
@@ -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'),
|
||||
|
||||
@@ -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'),
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user