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/templates/sharecomponent/actioncomponent/index.jsx | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/index.jsx b/src/templates/sharecomponent/actioncomponent/index.jsx index fba939a..50cdb74 100644 --- a/src/templates/sharecomponent/actioncomponent/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/index.jsx @@ -144,7 +144,7 @@ if (usefulFields) { try { usefulFields = JSON.parse(usefulFields) - } catch { + } catch (e) { usefulFields = [] } } else { @@ -308,7 +308,7 @@ _LongParam.setting.title = btn.label _LongParam = window.btoa(window.encodeURIComponent(JSON.stringify(_LongParam))) _temp = 'Modal' - } catch { + } catch (e) { console.warn('Stringify Failure') _temp = '' } @@ -328,7 +328,7 @@ }) _LongParam = window.btoa(window.encodeURIComponent(JSON.stringify(_LongParam))) _temp = 'FormTab' - } catch { + } catch (e) { console.warn('Stringify Failure') _temp = '' } @@ -522,7 +522,7 @@ btnParam.secretkey = Utils.encrypt(btnParam.LText, btnParam.timestamp) _LongParam = window.btoa(window.encodeURIComponent(JSON.stringify(_tab))) - } catch { + } catch (e) { console.warn('Stringify Failure') _LongParam = '' _resolve('save') @@ -836,11 +836,7 @@ if (!el.origin && (el.OpenType === 'pop' || el.execMode === 'pop' || el.OpenType === 'popview' || (el.OpenType === 'tab' && el.tabTemplate === 'FormTab'))) { this.props.setSubConfig(el) } else { - notification.warning({ - top: 92, - message: '姝ゆ寜閽棤瀛愰厤缃」锛�', - duration: 5 - }) + this.handleAction(el) } } -- Gitblit v1.8.0