king
2023-01-17 d5ce81026882ada34e5d49411be7c90ee96cc102
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') {