From e6d66b3c9973551d6f8571b8e72ce6fbfce27cd3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 08 三月 2024 21:46:05 +0800 Subject: [PATCH] 2024-03-08 --- src/components/normalform/modalform/mkRadio/index.jsx | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/src/components/normalform/modalform/mkRadio/index.jsx b/src/components/normalform/modalform/mkRadio/index.jsx index 587fef6..ddebf3e 100644 --- a/src/components/normalform/modalform/mkRadio/index.jsx +++ b/src/components/normalform/modalform/mkRadio/index.jsx @@ -26,17 +26,6 @@ return !is(fromJS(this.state), fromJS(nextState)) } - 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() - }) - } - } - componentWillUnmount () { this.setState = () => { return -- Gitblit v1.8.0