From 10f5efae1624c89d9a8f04ac331e07c895ea282a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期六, 25 五月 2024 18:22:58 +0800
Subject: [PATCH] 2024-05-25

---
 src/components/normalform/modalform/mkSelect/index.jsx |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/components/normalform/modalform/mkSelect/index.jsx b/src/components/normalform/modalform/mkSelect/index.jsx
index a1b4479..39b5546 100644
--- a/src/components/normalform/modalform/mkSelect/index.jsx
+++ b/src/components/normalform/modalform/mkSelect/index.jsx
@@ -31,17 +31,6 @@
     MKEmitter.addListener('mkFC', this.mkFormControl)
   }
 
-  UNSAFE_componentWillReceiveProps (nextProps) {
-    const { config } = this.state
-
-    if (!is(fromJS(config.oriOptions), fromJS(nextProps.config.oriOptions))) {
-      this.setState({
-        config: fromJS(nextProps.config).toJS(),
-        options: fromJS(nextProps.config.options).toJS()
-      })
-    }
-  }
-
   shouldComponentUpdate (nextProps, nextState) {
     return !is(fromJS(this.state), fromJS(nextState))
   }

--
Gitblit v1.8.0