src/menu/components/share/sourcecomponent/index.jsx
@@ -14,12 +14,23 @@ } state = { url: this.props.value, url: '', visible: '' } UNSAFE_componentWillMount () { const { value } = this.props let val = '' if (value) { val = value } else if (this.props['data-__meta']) { val = this.props['data-__meta'].initialValue || '' } this.setState({ url: val, }) } shouldComponentUpdate (nextProps, nextState) {