From 07ba00bbc814f67050c46f028c5b56966d269c46 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期五, 18 十月 2024 14:21:15 +0800 Subject: [PATCH] 处理树懒加载抖动,生命周期非编辑状态只读 --- Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue b/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue index 7e2245e..15b1954 100644 --- a/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue +++ b/Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue @@ -23,6 +23,7 @@ <p>{{ item.name }}: {{ item.value }}</p> </template> </div> + <div v-if="!disabledBtn" class="mask"></div> </div> <div class="vfe-chart-panel"> @@ -129,7 +130,6 @@ }, // 澶勭悊鍥捐〃鏁版嵁鏇存敼鐨勪簨浠� onAfterChange(e) { - console.log(e) try { // if('edit' === this.$store.state.flow.type){ // this.$refs.flowChart.propsAPI.remove(e.item); @@ -172,7 +172,6 @@ this.currentSelectedLine = currentEdge; } }, - // 涓嬭浇鍥剧墖 _downloadImage(data, filename = "flowchart.png") { const a = document.createElement("a"); @@ -264,6 +263,14 @@ margin: 0; } } + .mask{ + opacity: 0.3; + position: absolute; + width: 100%; + height: 100%; + left: 0; + top:0; + } } .vfe-chart-sidebar { -- Gitblit v1.9.3