修改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

2
dist/demo.js vendored
View File

@ -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);

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

@ -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);