修正单词hidn => hide
This commit is contained in:
maplemei
2019-09-23 20:17:24 +08:00
parent 2746d723d2
commit 9786701c41
5 changed files with 7 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ export default function (lan = 'zn') {
},
// 隐藏下拉框
hidn(){
hide(){
},
// 模板组成, 当前option数据, 已经选中的数据, name, value

View File

@@ -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;
}
//如果产生滚动条, 关闭下拉后回到顶部