【代码修复】 Simple 设计器缩小留白问题
parent
21fc3fd7e6
commit
13272c2293
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div v-loading="loading">
|
||||
<div v-loading="loading" class="overflow-auto">
|
||||
<SimpleProcessModel
|
||||
v-if="processNodeTree"
|
||||
:flow-node="processNodeTree"
|
||||
|
|
|
@ -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,8 +19,10 @@
|
|||
>
|
||||
</el-row>
|
||||
</div>
|
||||
<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>
|
||||
<div
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
// 配置节点头部
|
||||
.config-header {
|
||||
display: flex;
|
||||
|
@ -172,14 +171,15 @@
|
|||
// Simple 流程模型样式
|
||||
.simple-process-model-container {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
padding-top: 32px;
|
||||
background-color: #fafafa;
|
||||
.simple-process-model {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding-top: 16px;
|
||||
background-color: #fafafa;
|
||||
transform-origin: 50% 0 0;
|
||||
overflow: auto;
|
||||
transform: scale(1);
|
||||
transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
||||
background: url(@/assets/svgs/bpm/simple-process-bg.svg) 0 0 repeat;
|
||||
|
@ -702,6 +702,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// iconfont 样式
|
||||
@font-face {
|
||||
|
|
Loading…
Reference in New Issue