From 326aa6b3effaccc71cfe0775d47b0f29eb3695a6 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 25 八月 2024 00:36:40 +0800 Subject: [PATCH] 2024-08-25 --- src/templates/comtableconfig/updatetable/index.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/templates/comtableconfig/updatetable/index.jsx b/src/templates/comtableconfig/updatetable/index.jsx index c1a3d21..f61593a 100644 --- a/src/templates/comtableconfig/updatetable/index.jsx +++ b/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() {} -- Gitblit v1.8.0