From ee93bb30e4f45b8f66453a62a79f73bed54c5089 Mon Sep 17 00:00:00 2001 From: zheng Date: Tue, 28 Feb 2023 14:29:59 +0800 Subject: [PATCH] =?UTF-8?q?docs(MenuDropdown):=20=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/Button/index.tsx | 2 +- packages/core/src/MenuDropdown/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/Button/index.tsx b/packages/core/src/Button/index.tsx index 94061764d..5b20f2026 100644 --- a/packages/core/src/Button/index.tsx +++ b/packages/core/src/Button/index.tsx @@ -105,7 +105,7 @@ export default function ButtonView(props: ButtonProps) { borderWidth = 0; } const buttonStyle = { - backgroundColor, + backgroundColor: backgroundColor || '#fff5', borderColor, borderWidth, borderRadius, diff --git a/packages/core/src/MenuDropdown/index.tsx b/packages/core/src/MenuDropdown/index.tsx index 9b9b09d7c..64d686bba 100644 --- a/packages/core/src/MenuDropdown/index.tsx +++ b/packages/core/src/MenuDropdown/index.tsx @@ -61,7 +61,7 @@ export default function MenuDropdown(props: MenuDropdownProps) { }; return ( -