From c10fc10d5fd307a7b334bcde6af5c1175aaa0410 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 28 八月 2024 17:47:28 +0800 Subject: [PATCH] 2024-08-28 --- src/menu/components/share/markcomponent/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/menu/components/share/markcomponent/index.jsx b/src/menu/components/share/markcomponent/index.jsx index 7185bea..160c1dd 100644 --- a/src/menu/components/share/markcomponent/index.jsx +++ b/src/menu/components/share/markcomponent/index.jsx @@ -399,12 +399,12 @@ }) this.props.onSubmit(marks) } else { - const _this = this + const that = this confirm({ title: '瀛樺湪鏈繚瀛樻爣璁帮紝纭畾蹇界暐鍚楋紵', onOk() { - _this.setState({ visible: false }) - _this.props.onSubmit(marks) + that.setState({ visible: false }) + that.props.onSubmit(marks) }, onCancel() {} }) -- Gitblit v1.8.0