From c62089adb9645a84d5a63b1c62b48e14fcd57126 Mon Sep 17 00:00:00 2001 From: lxr-cel <756422071@qq.com> Date: Thu, 4 Jan 2024 23:37:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=B8=90=E5=8F=98=E8=89=B2we?= =?UTF-8?q?b=E7=A4=BA=E4=BE=8B=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/Style.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/web/src/pages/Edit/components/Style.vue b/web/src/pages/Edit/components/Style.vue index 3106b487..483a2b40 100644 --- a/web/src/pages/Edit/components/Style.vue +++ b/web/src/pages/Edit/components/Style.vue @@ -485,7 +485,10 @@ export default { borderRadius: '', lineColor: '', lineDasharray: '', - lineWidth: '' + lineWidth: '', + gradientStyle: false, + startColor: '', + endColor: '' } } }, @@ -560,7 +563,10 @@ export default { 'borderRadius', 'lineColor', 'lineDasharray', - 'lineWidth' + 'lineWidth', + 'gradientStyle', + 'startColor', + 'endColor' ].forEach(item => { this.style[item] = this.activeNodes[0].getStyle(item, false) })