diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue index 96a4026158..58572224d4 100644 --- a/frontend/src/components/DeDrag/index.vue +++ b/frontend/src/components/DeDrag/index.vue @@ -595,14 +595,14 @@ export default { return (this.canvasStyleData.panel.gap === 'yes' && this.element.auxiliaryMatrix) ? this.componentGap : 0 }, miniWidth() { - return this.element.auxiliaryMatrix ? this.curCanvasScale.matrixStyleWidth * (this.element.miniSizex || 1) : 0 + return this.element.auxiliaryMatrix ? this.curCanvasScale.matrixStyleWidth * 4 : 0 }, miniHeight() { if (this.element.auxiliaryMatrix) { if (this.element.component === 'de-number-range') { - return this.element.auxiliaryMatrix ? this.curCanvasScale.matrixStyleHeight * (this.element.miniSizey || 2) : 0 + return this.element.auxiliaryMatrix ? this.curCanvasScale.matrixStyleHeight * 4 : 0 } else { - return this.element.auxiliaryMatrix ? this.curCanvasScale.matrixStyleHeight * (this.element.miniSizey || 1) : 0 + return this.element.auxiliaryMatrix ? this.curCanvasScale.matrixStyleHeight * 4 : 0 } } else { return 0 diff --git a/frontend/src/components/canvas/components/Editor/EditBar.vue b/frontend/src/components/canvas/components/Editor/EditBar.vue index 09880601cc..83ce3b216c 100644 --- a/frontend/src/components/canvas/components/Editor/EditBar.vue +++ b/frontend/src/components/canvas/components/Editor/EditBar.vue @@ -138,14 +138,14 @@ export default { return this.targetLinkageInfo[this.element.propValue.viewId] }, miniHeight() { - let miniHeight = this.curComponent.miniSizey || 1 + let miniHeight = 4 if (this.element.component === 'de-number-range') { - miniHeight = this.curComponent.miniSizey || 2 + miniHeight = 4 } return miniHeight }, miniWidth() { - return this.curComponent.miniSizex || 1 + return 4 }, ...mapState([ 'menuTop',