perf: 优化工作流与智能体编排界面性能

- 使用登录态独立全屏壳层承载编排页面

- 保留鉴权、锁屏、水印及原有设计器功能

- 增加独立路由回归测试
This commit is contained in:
2026-07-28 12:23:20 +08:00
parent 1630d6194a
commit 1404c2ddc5
8 changed files with 197 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
<script setup lang="ts">
import AuthenticatedStandaloneLayout from '#/layouts/AuthenticatedStandaloneLayout.vue';
import AgentDesigner from './AgentDesigner.vue';
</script>
<template>
<AuthenticatedStandaloneLayout>
<AgentDesigner />
</AuthenticatedStandaloneLayout>
</template>

View File

@@ -0,0 +1,31 @@
<script setup lang="ts">
import AuthenticatedStandaloneLayout from '#/layouts/AuthenticatedStandaloneLayout.vue';
import WorkflowDesign from './WorkflowDesign.vue';
</script>
<template>
<AuthenticatedStandaloneLayout class="workflow-design-standalone">
<WorkflowDesign />
</AuthenticatedStandaloneLayout>
</template>
<style scoped>
.workflow-design-standalone :deep(.head-div) {
display: flex;
flex-direction: column;
height: 100%;
min-height: 0;
overflow: hidden;
}
.workflow-design-standalone :deep(.agentsflow) {
height: 100% !important;
}
.workflow-design-standalone :deep(.tiny-flow-container) {
flex: 1;
height: auto;
min-height: 0;
}
</style>