diff --git a/src/directive/el-table/adaptive.js b/src/directive/el-table/adaptive.js index cf5048d1..56ae883d 100644 --- a/src/directive/el-table/adaptive.js +++ b/src/directive/el-table/adaptive.js @@ -30,6 +30,7 @@ export default { await doResize(el, binding, vnode) } // parameter 1 is must be "Element" type + addResizeListener(el, el.resizeListener) addResizeListener(window.document.body, el.resizeListener) }, async inserted(el, binding, vnode) {