Skip to content

Commit a185841

Browse files
committed
Update index.jsx
1 parent 3e696c4 commit a185841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ve-table/src/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,7 @@ export default {
19781978
// fixed #404
19791979
this.initScrolling();
19801980
this.setScrollBarStatus();
1981+
this.hooks.triggerHook(HOOKS_NAME.TABLE_SIZE_CHANGE);
19811982
},
19821983
},
19831984
directives: [
@@ -2042,7 +2043,6 @@ export default {
20422043
on: {
20432044
"on-dom-resize-change": ({ height }) => {
20442045
this.tableHeight = height;
2045-
this.hooks.triggerHook(HOOKS_NAME.TABLE_SIZE_CHANGE);
20462046
},
20472047
},
20482048
};

0 commit comments

Comments
 (0)