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/views/printTemplate/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/printTemplate/index.jsx b/src/views/printTemplate/index.jsx index 75783b8..8374dff 100644 --- a/src/views/printTemplate/index.jsx +++ b/src/views/printTemplate/index.jsx @@ -767,7 +767,7 @@ } deleteItem = () => { - const _this = this + const that = this const { editItemId, config } = this.state confirm({ @@ -777,13 +777,13 @@ onOk() { config.elements = config.elements.filter(item => item.uuid !== editItemId) - _this.setState({ + that.setState({ config: config, editItemId: config.uuid, editItemType: config.type, formlist: getpageform(config) }, () => { - _this.resetview() + that.resetview() }) }, onCancel() {} -- Gitblit v1.8.0