From 960780cbeec75de1135556e1b5ba0137356ec099 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Tue, 26 Jun 2018 22:24:27 +0800 Subject: [PATCH] no message Former-commit-id: 4d08008b65dcba5eec12c1be589820455377c7e2 [formerly 4d08008b65dcba5eec12c1be589820455377c7e2 [formerly 4d08008b65dcba5eec12c1be589820455377c7e2 [formerly 4d08008b65dcba5eec12c1be589820455377c7e2 [formerly 316d22382d42c95e6f93ca4182c1da5386e64828 [formerly 27702ca1e361a19ff5b8f738b03420d571502622]]]]] Former-commit-id: 9ecd52c7f8ea2f83a2c8b9afbbe2f56180f73d5e Former-commit-id: a7e7e18c79906317dab2d40861c098c93802f889 Former-commit-id: 5f0c797700da381e4d0b8c1887f44fca746abc6b [formerly 904733c73b56404f58da30243f2d2559a2bea4a1] Former-commit-id: d9eb40d51f7736a6f4d0eb2eda6c955fb64f69e2 Former-commit-id: 39adb23e00a985b9213fdd8f3b0f3de9e0dd5399 Former-commit-id: cd3860b000b6818e4284de33bbcd60bd580205f0 Former-commit-id: 9844110ec7cf5ceae482831c9297c24eb6422e4d Former-commit-id: 70f098d1b49f89add3e9e9d8c04d834a7c0e6dc3 --- .../core/d2-layout-main/components/-menu-side/index.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/core/d2-layout-main/components/-menu-side/index.vue b/src/components/core/d2-layout-main/components/-menu-side/index.vue index 834a7cf3..c7cf0206 100644 --- a/src/components/core/d2-layout-main/components/-menu-side/index.vue +++ b/src/components/core/d2-layout-main/components/-menu-side/index.vue @@ -60,6 +60,9 @@ export default { this.updateAsideHeight() } }, + beforeDestroy () { + window.onresize = () => {} + }, methods: { updateAsideHeight () { this.asideHeight = this.$el.offsetHeight