Commit c2d603d0312245808555535d346cc361be7dbb77

Authored by zhigang.li
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 151 this.matchMedia();
152 152 }
153 153 },
154   - destroyed () {
  154 + beforeDestroy () {
155 155 if (this.breakpoint !== undefined) {
156 156 off(window, 'resize', this.onWindowResize);
157 157 }
... ...