king
2023-01-09 4cd93a0c0525a22ec8798e51096fa5bfd448bde0
src/templates/sharecomponent/settingcomponent/settingform/index.jsx
@@ -363,10 +363,9 @@
    if (this.scriptsForm && this.scriptsForm.props.form.getFieldValue('sql') && !/^\s+$/.test(this.scriptsForm.props.form.getFieldValue('sql'))) {
      notification.warning({
        top: 92,
        message: '存在未保存脚本,请点击确定保存,或点击取消放弃修改!',
        message: '存在未保存的脚本!',
        duration: 5
      })
      return
    }
    if (activeKey === 'setting') {