From 986aa62ed00bee39363bab41b4eeb8259d446efd Mon Sep 17 00:00:00 2001 From: ludc <ludc@vci-tech.com> Date: 星期四, 16 一月 2025 18:20:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/plt-web/plt-web-ui/src/components/flow-cycle/flowchartEditor.vue | 12 ++++++++++-- 1 files changed, 10 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..b4ed438 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); @@ -139,6 +139,7 @@ // return; // } // 濡傛灉娣诲姞浜嗚妭鐐逛笖鑺傜偣娌℃湁琚洿鏀硅繃 + if (e.action === "add" && e.model.type === "node") { if (!e.model.change) { this.$refs.flowChart.propsAPI.remove(e.item); // 绉婚櫎鍘熸湁鐨勮妭鐐� @@ -172,7 +173,6 @@ this.currentSelectedLine = currentEdge; } }, - // 涓嬭浇鍥剧墖 _downloadImage(data, filename = "flowchart.png") { const a = document.createElement("a"); @@ -264,6 +264,14 @@ margin: 0; } } + .mask{ + opacity: 0.3; + position: absolute; + width: 100%; + height: 100%; + left: 0; + top:0; + } } .vfe-chart-sidebar { -- Gitblit v1.9.3