From e31cc623c9a28d4e83005d7204edf2dae62d93e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sun, 1 May 2022 15:32:09 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20scroll=20=E7=BB=84=E4=BB=B6=E5=B1=9E=E6=80=A7=E5=BF=85?= =?UTF-8?q?=E5=A1=AB=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/scroll/index.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/package/component/src/component/scroll/index.vue b/package/component/src/component/scroll/index.vue index f322db4b..0578fb03 100644 --- a/package/component/src/component/scroll/index.vue +++ b/package/component/src/component/scroll/index.vue @@ -12,7 +12,7 @@ ref="barRef" class="layui-scroll-track" :style="{ - backgroundColor: heightPre == 1 ? 'rgba(0,0,0,0)' : slotColor, + backgroundColor: data.heightPre == 1 ? 'rgba(0,0,0,0)' : slotColor, }" >