diff --git a/frontend/src/components/canvas/components/Editor/EditBar.vue b/frontend/src/components/canvas/components/Editor/EditBar.vue index 387363fd08..1f9efcce4d 100644 --- a/frontend/src/components/canvas/components/Editor/EditBar.vue +++ b/frontend/src/components/canvas/components/Editor/EditBar.vue @@ -101,7 +101,7 @@ export default { }, computed: { showEditPosition() { - if (this.activeModel === 'edit') { + if (this.activeModel === 'edit' && !this.linkageAreaShow && !this.batchOptAreaShow) { const toRight = (this.canvasStyleData.width - this.element.style.left - this.element.style.width) * this.curCanvasScale.scalePointWidth const toLeft = this.element.style.left * this.curCanvasScale.scalePointWidth if (this.barWidth < toRight) { @@ -183,7 +183,7 @@ export default { this.$store.commit('addCurMultiplexingComponent', { 'component': this.element, 'componentId': this.element.id }) } else { // remove - this.$store.commit('removeCurMultiplexingComponentWithId', this.element.id ) + this.$store.commit('removeCurMultiplexingComponentWithId', this.element.id) } }, closePreview() {