king
2023-06-14 08cce3334a2dc81d690b518136b0aaea64e48b0b
src/templates/sharecomponent/settingcomponent/settingform/simplescript/index.jsx
@@ -265,6 +265,13 @@
        duration: 5
      })
      return
    } else if (/,,/ig.test(values.sql)) {
      notification.warning({
        top: 92,
        message: '自定义sql语句中,不可出现连续的英文逗号(,,)',
        duration: 5
      })
      return
    }
    let error = Utils.verifySql(values.sql, 'customscript')