From 42210a3eb6539c0457f05bc655a931a7c5195d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 27 Jun 2021 01:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96layer=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layer/index.wc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layer/index.wc b/src/layer/index.wc index e900133..8917e0c 100644 --- a/src/layer/index.wc +++ b/src/layer/index.wc @@ -542,6 +542,9 @@ export default class Layer { if (this.props.background) { _style += `background: ${this.props.background};` + if (this.props.background === 'transparent') { + _style += 'box-shadow:none;' + } } if (this.props.radius || this.props.radius === 0) { _style += `border-radius: ${this.props.radius};`