Fix route flow viewer height

This commit is contained in:
caoqianming 2026-07-27 16:07:05 +08:00
parent 64d606c3a5
commit 906d79dc25
1 changed files with 2 additions and 3 deletions

View File

@ -24,8 +24,7 @@
@tab-click="tabshandleClick"> @tab-click="tabshandleClick">
<el-tab-pane :label="item" :name="item" v-for="item in tabsTitle" :key="item"></el-tab-pane> <el-tab-pane :label="item" :name="item" v-for="item in tabsTitle" :key="item"></el-tab-pane>
</el-tabs> </el-tabs>
<xtFlowViewer :nodes="nodes" :edges="edges" class="rs-flow__canvas" <xtFlowViewer :nodes="nodes" :edges="edges" class="rs-flow__canvas">
style="min-height: 0">
</xtFlowViewer> </xtFlowViewer>
</div> </div>
@ -284,7 +283,7 @@ export default {
} }
.rs-flow__canvas { .rs-flow__canvas {
flex: 1; flex: 1;
min-height: 0; min-height: 320px;
} }
.rs-tabs { .rs-tabs {
/* el-tabs 的空 content 默认会 flex-grow多个流程图时会把下方画布挤出可视区 */ /* el-tabs 的空 content 默认会 flex-grow多个流程图时会把下方画布挤出可视区 */