v1.0.2
修正单词hidn => hide
This commit is contained in:
@@ -85,7 +85,7 @@ export default function (lan = 'zn') {
|
||||
|
||||
},
|
||||
// 隐藏下拉框
|
||||
hidn(){
|
||||
hide(){
|
||||
|
||||
},
|
||||
// 模板组成, 当前option数据, 已经选中的数据, name, value
|
||||
|
||||
@@ -81,7 +81,7 @@ class Framework extends Component{
|
||||
}
|
||||
this.setState({ directionVal: direction })
|
||||
}else{
|
||||
if(this.props.hidn && this.props.hidn() == false){
|
||||
if(this.props.hide && this.props.hide() == false){
|
||||
return;
|
||||
}
|
||||
//如果产生滚动条, 关闭下拉后回到顶部
|
||||
|
||||
Reference in New Issue
Block a user