king
2023-05-15 b20a4d7c75c2ff8951e93d9c0394df9277fc6093
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')