From 75f3fd6e67851b9079e0b82c8cd94bf7649fe8bd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 08 三月 2021 18:53:44 +0800
Subject: [PATCH] 2021-03-08

---
 src/menu/picturecontroller/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/menu/picturecontroller/index.jsx b/src/menu/picturecontroller/index.jsx
index 7d887b7..cb45a35 100644
--- a/src/menu/picturecontroller/index.jsx
+++ b/src/menu/picturecontroller/index.jsx
@@ -248,7 +248,7 @@
                 </Col>
               </Row>
               <Row gutter={16} style={{height: '340px'}}>
-                {piclist.length && piclist.map(item => (
+                {piclist.length > 0 && piclist.map(item => (
                   <Col span={4} key={item.id}>
                     <div className="image-video-box">
                       <div className="image-video-box-body">
@@ -279,7 +279,7 @@
                 </Col>
               </Row>
               <Row gutter={16} style={{height: '340px'}}>
-                {vidlist.length && vidlist.map(item => (
+                {vidlist.length > 0 && vidlist.map(item => (
                   <Col span={4} key={item.id}>
                     <div className="image-video-box">
                       <div className="image-video-box-body">

--
Gitblit v1.8.0