diff --git a/src/components/layout/sider.vue b/src/components/layout/sider.vue index c9a1ef4..acfc946 100644 --- a/src/components/layout/sider.vue +++ b/src/components/layout/sider.vue @@ -151,7 +151,7 @@ this.matchMedia(); } }, - destroyed () { + beforeDestroy () { if (this.breakpoint !== undefined) { off(window, 'resize', this.onWindowResize); } -- libgit2 0.21.4