From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/menu/components/share/actioncomponent/index.jsx | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/menu/components/share/actioncomponent/index.jsx b/src/menu/components/share/actioncomponent/index.jsx index e565fa3..a754d81 100644 --- a/src/menu/components/share/actioncomponent/index.jsx +++ b/src/menu/components/share/actioncomponent/index.jsx @@ -461,6 +461,11 @@ } btn.updateTime = moment().format('YYYY-MM-DD HH:mm') + + if (btn.style) { + delete btn.style.display + } + return btn } else { return item @@ -530,6 +535,16 @@ let _actionlist = fromJS(this.state.actionlist).toJS() _actionlist = _actionlist.filter(item => !item.origin || item.uuid === card.uuid) + res.customverifys && res.customverifys.forEach(item => { + item.sql = item.sql.replace(/\t+|\v+/g, ' ') + }) + res.scripts && res.scripts.forEach(item => { + item.sql = item.sql.replace(/\t+|\v+/g, ' ') + }) + res.cbScripts && res.cbScripts.forEach(item => { + item.sql = item.sql.replace(/\t+|\v+/g, ' ') + }) + _actionlist = _actionlist.map(item => { if (item.uuid === card.uuid) { item.verify = res -- Gitblit v1.8.0