fix typo
This commit is contained in:
parent
92b9a8cc1f
commit
9456fc040d
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ export default class ResizeItem {
|
|||
|
||||
setSize(size) {
|
||||
this.sizer.setItemSize(this.domNode, size);
|
||||
const callback = this.resizer.distributorCtor.onResized;
|
||||
const callback = this.resizer.distributorCfg.onResized;
|
||||
if (callback) {
|
||||
callback(size, this.id, this.domNode);
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ export default class ResizeItem {
|
|||
|
||||
clearSize() {
|
||||
this.sizer.clearItemSize(this.domNode);
|
||||
const callback = this.resizer.distributorCtor.onResized;
|
||||
const callback = this.resizer.distributorCfg.onResized;
|
||||
if (callback) {
|
||||
callback(null, this.id, this.domNode);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue