From 85561eaf1018d1c7c362fcd166af81f61dc953dd Mon Sep 17 00:00:00 2001 From: shangqunfeng Date: Thu, 24 Oct 2024 11:53:05 +0800 Subject: [PATCH] fix(view): fix background fill. --- .../webpack-plugin/lib/runtime/components/react/mpx-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx b/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx index 8e9d236b4..6e4f7ad53 100644 --- a/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx +++ b/packages/webpack-plugin/lib/runtime/components/react/mpx-view.tsx @@ -600,7 +600,7 @@ function wrapImage (imageStyle?: ExtendedViewStyle) { } } - return + return {show && type === 'linear' && } {show && type === 'image' && }