Commit c2d603d0312245808555535d346cc361be7dbb77
1 parent
716d151a
update sider
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/layout/sider.vue
@@ -151,7 +151,7 @@ | @@ -151,7 +151,7 @@ | ||
151 | this.matchMedia(); | 151 | this.matchMedia(); |
152 | } | 152 | } |
153 | }, | 153 | }, |
154 | - destroyed () { | 154 | + beforeDestroy () { |
155 | if (this.breakpoint !== undefined) { | 155 | if (this.breakpoint !== undefined) { |
156 | off(window, 'resize', this.onWindowResize); | 156 | off(window, 'resize', this.onWindowResize); |
157 | } | 157 | } |