From 8a58732e741370109fed9fc151f69e180539a854 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 5 Mar 2024 16:48:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dtab=E4=B8=AD=E7=9F=A9=E9=98=B5=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E6=82=AC=E6=B5=AE=E6=A8=A1=E5=BC=8F=E5=9C=A8?= =?UTF-8?q?=E4=B8=80=E5=AE=9A=E7=9A=84=E5=B0=BA=E5=AF=B8=E4=B8=8B=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E5=87=BA=E7=8E=B0=E6=97=A0=E6=B3=95=E7=A7=BB=E5=87=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/components/editor/EditBar.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/frontend/src/components/canvas/components/editor/EditBar.vue b/core/frontend/src/components/canvas/components/editor/EditBar.vue index 0514c0162e..7583488ff1 100644 --- a/core/frontend/src/components/canvas/components/editor/EditBar.vue +++ b/core/frontend/src/components/canvas/components/editor/EditBar.vue @@ -496,8 +496,12 @@ export default { recordMatrixCurShadowStyle() { const left = (this.curComponent.x - 1) * this.curCanvasScaleSelf.matrixStyleWidth const top = (this.curComponent.y - 1) * this.curCanvasScaleSelf.matrixStyleHeight - const width = this.curComponent.sizex * this.curCanvasScaleSelf.matrixStyleWidth + let width = this.curComponent.sizex * this.curCanvasScaleSelf.matrixStyleWidth const height = this.curComponent.sizey * this.curCanvasScaleSelf.matrixStyleHeight + const ruleWidth = this.curCanvasScaleSelf.scalePointWidth * this.canvasStyleData.width - 5 + if (width > ruleWidth) { + width = ruleWidth + } const style = { left: left, top: top,