perf: 优化工作流与智能体编排界面性能
- 使用登录态独立全屏壳层承载编排页面 - 保留鉴权、锁屏、水印及原有设计器功能 - 增加独立路由回归测试
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user