From 01c6998d820375be3f7de5506382343f0411c468 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 17 五月 2022 22:28:11 +0800
Subject: [PATCH] 2022-05-17

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

diff --git a/src/menu/picturecontroller/index.jsx b/src/menu/picturecontroller/index.jsx
index acf10d8..9f41000 100644
--- a/src/menu/picturecontroller/index.jsx
+++ b/src/menu/picturecontroller/index.jsx
@@ -39,6 +39,15 @@
     let videos = sessionStorage.getItem('app_videos')
     let colorlist = sessionStorage.getItem('app_colors')
 
+    if (!pictures) {
+      notification.warning({
+        top: 92,
+        message: '鏈幏鍙栧埌璧勬簮淇℃伅锛岃绋嶅悗鎴栧埛鏂伴噸璇曘��',
+        duration: 5
+      })
+      return
+    }
+
     try {
       pictures = JSON.parse(pictures)
       videos = JSON.parse(videos)

--
Gitblit v1.8.0