From 8e003c1a94d26cc4d477e7aa03593ccb4d7e6c61 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 11 十月 2024 17:47:40 +0800 Subject: [PATCH] 2024-10-11 --- 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