diff --git a/frontend/src/components/canvas/components/Editor/EditBar.vue b/frontend/src/components/canvas/components/Editor/EditBar.vue index 206e4a9b65..d21a22cbf9 100644 --- a/frontend/src/components/canvas/components/Editor/EditBar.vue +++ b/frontend/src/components/canvas/components/Editor/EditBar.vue @@ -5,7 +5,7 @@ -
+
@@ -108,6 +108,16 @@ export default { mounted() { }, computed: { + curComponentTypes() { + const types = [] + this.componentData.forEach(component => { + types.push(component.type) + }) + return types + }, + showMultiplexingCheck() { + return this.element.type !== 'custom-button' || (this.element.type === 'custom-button' && !this.curComponentTypes.includes('custom-button')) + }, showEditPosition() { if (this.activeModel === 'edit' && !this.linkageAreaShow && !this.batchOptAreaShow) { const toRight = (this.canvasStyleData.width - this.element.style.left - this.element.style.width) * this.curCanvasScale.scalePointWidth