修改API文档
This commit is contained in:
commit
a562e492fc
|
@ -8839,9 +8839,7 @@
|
||||||
var onFocusRes = onFocus && onFocus(isExist);
|
var onFocusRes = onFocus && onFocus(isExist);
|
||||||
if (onFocusRes instanceof Promise) {
|
if (onFocusRes instanceof Promise) {
|
||||||
onFocusRes.then(function () {
|
onFocusRes.then(function () {
|
||||||
if (!isExist) {
|
_this4._focusDom(_this4.selectKeyDomPos, targetDom);
|
||||||
_this4._focusDom(_this4.selectKeyDomPos, targetDom);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this._focusDom(this.selectKeyDomPos, targetDom);
|
this._focusDom(this.selectKeyDomPos, targetDom);
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -63,4 +63,4 @@
|
||||||
"react-addons-test-utils": "15.3.2",
|
"react-addons-test-utils": "15.3.2",
|
||||||
"react-dom": "15.3.2"
|
"react-dom": "15.3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -561,9 +561,7 @@ onExpand(treeNode,keyType) {
|
||||||
let onFocusRes = onFocus && onFocus(isExist);
|
let onFocusRes = onFocus && onFocus(isExist);
|
||||||
if(onFocusRes instanceof Promise){
|
if(onFocusRes instanceof Promise){
|
||||||
onFocusRes.then(()=>{
|
onFocusRes.then(()=>{
|
||||||
if(!isExist){
|
this._focusDom(this.selectKeyDomPos,targetDom);
|
||||||
this._focusDom(this.selectKeyDomPos,targetDom);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
this._focusDom(this.selectKeyDomPos,targetDom);
|
this._focusDom(this.selectKeyDomPos,targetDom);
|
||||||
|
|
Loading…
Reference in New Issue