From 3c50bfdd8d605b3dd449adcb54cdf7f7c25d6c16 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 04 十一月 2022 15:46:05 +0800
Subject: [PATCH] 2022-11-04

---
 src/menu/components/share/actioncomponent/index.jsx |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/index.jsx b/src/menu/components/share/actioncomponent/index.jsx
index ce85dbf..77245e3 100644
--- a/src/menu/components/share/actioncomponent/index.jsx
+++ b/src/menu/components/share/actioncomponent/index.jsx
@@ -81,7 +81,9 @@
     MKEmitter.removeListener('submitModal', this.handleSave)
   }
 
-  revert = () => {
+  revert = (id) => {
+    if (id && id !== this.props.config.uuid) return
+
     this.setState({
       actionlist: fromJS(this.props.config.action).toJS()
     })

--
Gitblit v1.8.0