From c2d603d0312245808555535d346cc361be7dbb77 Mon Sep 17 00:00:00 2001 From: zhigang.li Date: Thu, 21 Dec 2017 09:58:40 +0800 Subject: [PATCH] update sider --- src/components/layout/sider.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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