From 667397bb9aaad7ccf0ba73305d4cfd6ee2afd3a7 Mon Sep 17 00:00:00 2001 From: xuan Date: Fri, 11 Nov 2022 14:39:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E7=A9=BA=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=BB=84=E4=BB=B6|=E6=BB=9A=E5=8A=A8=E7=BB=84=E4=BB=B6):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=A9=BA=E7=8A=B6=E6=80=81=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E7=99=BD=E8=89=B2=E8=83=8C=E6=99=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/empty/index.module.scss | 1 - src/components/empty/index.tsx | 2 +- src/components/infiniteScroll/index.tsx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/empty/index.module.scss b/src/components/empty/index.module.scss index e766323..97da4bd 100644 --- a/src/components/empty/index.module.scss +++ b/src/components/empty/index.module.scss @@ -8,7 +8,6 @@ .pic { width: 522px; height: 322px; - background: #fff; // opacity: 0.3; margin-bottom: 24px; } diff --git a/src/components/empty/index.tsx b/src/components/empty/index.tsx index 6fb03fb..5d53c40 100644 --- a/src/components/empty/index.tsx +++ b/src/components/empty/index.tsx @@ -16,7 +16,7 @@ export default memo((pros: PropsObj) => { return ( - {text} + {text} ) }) diff --git a/src/components/infiniteScroll/index.tsx b/src/components/infiniteScroll/index.tsx index 8c6b59e..a5932b9 100644 --- a/src/components/infiniteScroll/index.tsx +++ b/src/components/infiniteScroll/index.tsx @@ -107,7 +107,7 @@ export default memo( )} {statusMore == 0 && } - {statusMore == 1 && emptySlot ? emptySlot : } + {statusMore == 1 && (emptySlot ? emptySlot : )} ) }