|
@@ -360,8 +360,8 @@ class SpreadDrop extends Component{
|
|
|
return classNames(style['tag'],orgBorder,ext,setFontColorSize(1));
|
|
|
}
|
|
|
ifDefault(){
|
|
|
- const {type,otherDefault,curDefault} = this.props;
|
|
|
- const showDefaulted = (type=='2'&&curDefault)||(type=='3'&&otherDefault);
|
|
|
+ const {type,otherDefault,curDefault,showVal} = this.props;
|
|
|
+ const showDefaulted = ((type=='2'&&curDefault)||(type=='3'&&otherDefault))&&showVal;
|
|
|
return showDefaulted;
|
|
|
}
|
|
|
componentDidMount(){
|