update sider

This commit is contained in:
zhigang.li 2017-12-21 09:58:40 +08:00
parent 716d151a78
commit c2d603d031

View file

@ -151,7 +151,7 @@
this.matchMedia(); this.matchMedia();
} }
}, },
destroyed () { beforeDestroy () {
if (this.breakpoint !== undefined) { if (this.breakpoint !== undefined) {
off(window, 'resize', this.onWindowResize); off(window, 'resize', this.onWindowResize);
} }