From 99dfce0de93cfcfaf4ec80bf0bd63fbcc7e30004 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 30 十一月 2022 13:07:38 +0800 Subject: [PATCH] Merge branch 'develop' --- src/templates/comtableconfig/index.jsx | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx index 09683e2..2f79d57 100644 --- a/src/templates/comtableconfig/index.jsx +++ b/src/templates/comtableconfig/index.jsx @@ -975,23 +975,6 @@ }) config.action && config.action.forEach((btn) => { - if (['prompt', 'exec', 'pop'].includes(btn.OpenType) && btn.Ot === 'required' && btn.verify && btn.verify.scripts && btn.verify.scripts.length > 0) { - let hascheck = false - btn.verify.scripts.forEach(item => { - if (item.status === 'false') return - - if (/\$check@|@check\$/ig.test(item.sql)) { - hascheck = true - } - }) - if (hascheck) { - notification.warning({ - top: 92, - message: `鍙�夋嫨澶氳鐨勬寜閽��${btn.label}銆嬩腑 $check@ 鎴� @check$ 灏嗕笉浼氱敓鏁堬紒`, - duration: 5 - }) - } - } if (btn.intertype === 'custom' && btn.callbackType === 'script' && (!btn.verify || !btn.verify.cbScripts || !btn.verify.cbScripts.filter(item => item.status !== 'false').length === 0)) { notification.warning({ top: 92, -- Gitblit v1.8.0