修改API文档

This commit is contained in:
yangchch6 2019-03-15 11:34:41 +08:00
commit a562e492fc
5 changed files with 1375 additions and 8 deletions

4
dist/demo.js vendored
View File

@ -8839,9 +8839,7 @@
var onFocusRes = onFocus && onFocus(isExist);
if (onFocusRes instanceof Promise) {
onFocusRes.then(function () {
if (!isExist) {
_this4._focusDom(_this4.selectKeyDomPos, targetDom);
}
_this4._focusDom(_this4.selectKeyDomPos, targetDom);
});
} else {
this._focusDom(this.selectKeyDomPos, targetDom);

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

1371
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -63,4 +63,4 @@
"react-addons-test-utils": "15.3.2",
"react-dom": "15.3.2"
}
}
}

View File

@ -561,9 +561,7 @@ onExpand(treeNode,keyType) {
let onFocusRes = onFocus && onFocus(isExist);
if(onFocusRes instanceof Promise){
onFocusRes.then(()=>{
if(!isExist){
this._focusDom(this.selectKeyDomPos,targetDom);
}
this._focusDom(this.selectKeyDomPos,targetDom);
});
}else{
this._focusDom(this.selectKeyDomPos,targetDom);