【代码修复】 Simple 设计器缩小留白问题

pull/582/head
jason 2024-11-03 20:12:49 +08:00
parent 21fc3fd7e6
commit 13272c2293
3 changed files with 502 additions and 502 deletions

View File

@ -1,5 +1,5 @@
<template>
<div v-loading="loading">
<div v-loading="loading" class="overflow-auto">
<SimpleProcessModel
v-if="processNodeTree"
:flow-node="processNodeTree"

View File

@ -1,8 +1,5 @@
<template>
<div
class="simple-process-model-container position-relative"
:style="`transform: scale(${scaleValue / 100});`"
>
<div class="simple-process-model-container position-relative">
<div class="position-absolute top-0px right-0px bg-#fff">
<el-row type="flex" justify="end">
<el-button-group key="scale-control" size="default">
@ -22,7 +19,9 @@
>
</el-row>
</div>
<ProcessNodeTree v-if="processNodeTree" v-model:flow-node="processNodeTree" />
<div class="simple-process-model" :style="`transform: scale(${scaleValue / 100});`">
<ProcessNodeTree v-if="processNodeTree" v-model:flow-node="processNodeTree" />
</div>
</div>
<Dialog v-model="errorDialogVisible" title="保存失败" width="400" :fullscreen="false">
<div class="mb-2">以下节点内容不完善请修改后保存</div>