feat: 审批详情页-流程图和流转记录的高度会随着父容器高度自动调整
This commit is contained in:
1 parent
735837f0f9
commit
0db0b66051
3 files changed
+23
-1
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<el-card v-loading="loading" class="box-card">
|
||||
<MyProcessViewer key="designer" :xml="view.bpmnXml" :view="view" class="h-700px" />
|
||||
<MyProcessViewer key="designer" :xml="view.bpmnXml" :view="view" class="process-viewer" />
|
||||
</el-card>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
@@ -45,4 +45,9 @@ watch(
|
||||
width: 100%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
:deep(.process-viewer) {
|
||||
height: 100% !important;
|
||||
min-height: 500px;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user