src/menu/datasource/index.jsx
@@ -187,6 +187,16 @@ } }) }) } else { res.scripts.forEach(item => { if (item.status === 'false') return if (/exec\s/ig.test(item.sql)) { maxScript = 1000 } else if (item.sql.length > maxScript) { maxScript = item.sql.length } }) } res.setting.maxScript = maxScript