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/zshare/editTable/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/zshare/editTable/index.jsx b/src/templates/zshare/editTable/index.jsx index b14d57a..777fb99 100644 --- a/src/templates/zshare/editTable/index.jsx +++ b/src/templates/zshare/editTable/index.jsx @@ -385,14 +385,14 @@ } clear = () => { - const _this = this + const that = this confirm({ title: '纭畾娓呯┖鍒楄〃鍚楋紵', content: '', onOk() { - _this.setState({ data: [], editingKey: '' }, () => { - _this.props.onChange([]) + that.setState({ data: [], editingKey: '' }, () => { + that.props.onChange([]) }) }, onCancel() {} -- Gitblit v1.8.0