fix: 修复 tagsView 切换后监听失效。
This commit is contained in:
parent
9603d50fdc
commit
28e33fce55
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue