From 31ec63f0419895876cbaba99637a884a32d33d0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 01 九月 2021 10:31:45 +0800 Subject: [PATCH] 2021-09-01 --- src/menu/components/share/sourcecomponent/inputform/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/menu/components/share/sourcecomponent/inputform/index.jsx b/src/menu/components/share/sourcecomponent/inputform/index.jsx index cb5888a..7518cf2 100644 --- a/src/menu/components/share/sourcecomponent/inputform/index.jsx +++ b/src/menu/components/share/sourcecomponent/inputform/index.jsx @@ -48,7 +48,7 @@ if (_form && _form.focus) { _form.focus() } - } catch {} + } catch (e) {} } shouldComponentUpdate (nextProps, nextState) { @@ -63,14 +63,14 @@ let videos = sessionStorage.getItem('app_videos') try { originlist = JSON.parse(videos) - } catch { + } catch (e) { originlist = [] } } else { let pictures = sessionStorage.getItem('app_pictures') try { originlist = JSON.parse(pictures) - } catch { + } catch (e) { originlist = [] } } -- Gitblit v1.8.0