Fix route flow viewer height
This commit is contained in:
parent
64d606c3a5
commit
906d79dc25
|
|
@ -24,8 +24,7 @@
|
|||
@tab-click="tabshandleClick">
|
||||
<el-tab-pane :label="item" :name="item" v-for="item in tabsTitle" :key="item"></el-tab-pane>
|
||||
</el-tabs>
|
||||
<xtFlowViewer :nodes="nodes" :edges="edges" class="rs-flow__canvas"
|
||||
style="min-height: 0">
|
||||
<xtFlowViewer :nodes="nodes" :edges="edges" class="rs-flow__canvas">
|
||||
</xtFlowViewer>
|
||||
</div>
|
||||
|
||||
|
|
@ -284,7 +283,7 @@ export default {
|
|||
}
|
||||
.rs-flow__canvas {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
min-height: 320px;
|
||||
}
|
||||
.rs-tabs {
|
||||
/* el-tabs 的空 content 默认会 flex-grow,多个流程图时会把下方画布挤出可视区 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue