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/mob/components/menubar/normal-menubar/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mob/components/menubar/normal-menubar/index.jsx b/src/mob/components/menubar/normal-menubar/index.jsx index 016fd2f..596f800 100644 --- a/src/mob/components/menubar/normal-menubar/index.jsx +++ b/src/mob/components/menubar/normal-menubar/index.jsx @@ -123,7 +123,7 @@ */ deleteCard = (cell, type) => { let card = fromJS(this.state.card).toJS() - let _this = this + let that = this if (type !== 'direct') { confirm({ @@ -131,8 +131,8 @@ onOk() { card.subMenus = card.subMenus.filter(item => item.uuid !== cell.uuid) - _this.setState({card}) - _this.props.updateConfig(card) + that.setState({card}) + that.props.updateConfig(card) }, onCancel() {} }) -- Gitblit v1.8.0