fix: 流程审核详情页-流程图未能撑满剩余区域bug修复

This commit is contained in:
GoldenZqqq
2024-11-19 16:27:31 +08:00
parent c34bfc18bc
commit 7b8e4ea238
3 changed files with 28 additions and 10 deletions

View File

@ -1,5 +1,5 @@
<template>
<div v-loading="loading" class="mb-20px">
<div v-loading="loading" class="process-viewer-container">
<SimpleProcessViewer
:flow-node="simpleModel"
:tasks="tasks"
@ -154,8 +154,15 @@ const setSimpleModelNodeTaskStatus = (
</script>
<style lang="scss" scoped>
:deep(.process-viewer) {
height: 100% !important;
min-height: 500px;
.process-viewer-container {
height: 100%;
width: 100%;
:deep(.process-viewer) {
height: 100% !important;
min-height: 100%;
width: 100%;
overflow: auto;
}
}
</style>