Commit 60c34b61 authored by afc163's avatar afc163

remove default value of defaultValue

parent f2817dfd
...@@ -19,10 +19,6 @@ const TagSelectOption = ({ children, checked, onChange, value }) => ( ...@@ -19,10 +19,6 @@ const TagSelectOption = ({ children, checked, onChange, value }) => (
TagSelectOption.isTagSelectOption = true; TagSelectOption.isTagSelectOption = true;
class TagSelect extends Component { class TagSelect extends Component {
static defaultProps = {
defaultValue: [],
};
state = { state = {
expand: false, expand: false,
checkedTags: this.props.defaultValue || [], checkedTags: this.props.defaultValue || [],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment