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 : )} ) }