From ae170a9d58b4f91a225eada1dc83ed4a116b8d50 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 25 八月 2024 00:57:37 +0800 Subject: [PATCH] 2024-08-25 --- src/menu/replaceField/settingform/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu/replaceField/settingform/index.jsx b/src/menu/replaceField/settingform/index.jsx index 941c3f3..91d3236 100644 --- a/src/menu/replaceField/settingform/index.jsx +++ b/src/menu/replaceField/settingform/index.jsx @@ -76,13 +76,13 @@ } clear = () => { - let _this = this + let that = this confirm({ title: '纭畾娓呴櫎鍘嗗彶璁板綍鍚楋紵', content: '', onOk() { localStorage.removeItem('replaceRecord') - _this.setState({fields: [], labels: []}) + that.setState({fields: [], labels: []}) }, onCancel() {} }) -- Gitblit v1.8.0