From ffc81ccbf6493386824f020c77869a737ce6fce5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 27 二月 2024 16:48:50 +0800 Subject: [PATCH] 2024-02-27 --- 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