king
2023-03-24 deab3ddf1990cd25b4692d1358ac9d50856644f0
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')