From ee2f7a97abc91d3dbafe3b6612719a4aa3e5bdc8 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 03 七月 2020 12:03:49 +0800 Subject: [PATCH] 2020-07-03 --- src/templates/sharecomponent/settingcomponent/settingform/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/templates/sharecomponent/settingcomponent/settingform/index.jsx b/src/templates/sharecomponent/settingcomponent/settingform/index.jsx index 55ac79d..5bcbb10 100644 --- a/src/templates/sharecomponent/settingcomponent/settingform/index.jsx +++ b/src/templates/sharecomponent/settingcomponent/settingform/index.jsx @@ -226,6 +226,7 @@ message: '鏁版嵁婧愪腑\'蹇呴』鎴愬鍑虹幇', duration: 5 }) + reject() return } else if (_lparen !== _rparen) { notification.warning({ @@ -233,6 +234,7 @@ message: '鏁版嵁婧愪腑()蹇呴』鎴愬鍑虹幇', duration: 5 }) + reject() return } else if (/--/ig.test(values.dataresource)) { notification.warning({ @@ -240,6 +242,7 @@ message: '鏁版嵁婧愪腑锛屼笉鍙嚭鐜板瓧绗� -- 锛屾敞閲婅鐢� /*鍐呭*/', duration: 5 }) + reject() return } -- Gitblit v1.8.0