king
2024-08-25 326aa6b3effaccc71cfe0775d47b0f29eb3695a6
src/templates/comtableconfig/updatetable/index.jsx
@@ -29,7 +29,7 @@
  trigger = () => {
    const { config } = this.props
    const _this = this
    const that = this
    if (!config.enabled) {
      notification.warning({
@@ -45,7 +45,7 @@
      content: '',
      onOk() {
        return new Promise(resolve => {
          _this.execUpdate(resolve)
          that.execUpdate(resolve)
        })
      },
      onCancel() {}
@@ -611,7 +611,7 @@
  saveConfig = (_resolve, _config, errors) => {
    let err = errors.join(';')
    let _this = this
    let that = this
    if (err) {
      _resolve()
@@ -620,7 +620,7 @@
        content: '',
        onOk() {
          return new Promise(resolve => {
            _this.saveNewMenu(resolve, _config)
            that.saveNewMenu(resolve, _config)
          })
        },
        onCancel() {}