From fb3ec146a9e1444ece749d0bcf232a554e933fb0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 17 五月 2022 22:56:16 +0800 Subject: [PATCH] Merge branch 'develop' --- 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