From fdc2c896c096771bf3a29713bdb09a98a48f1124 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Fri, 2 Feb 2018 19:09:38 +0800 Subject: [PATCH] fix --- components/menu/src/SubMenu.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/menu/src/SubMenu.vue b/components/menu/src/SubMenu.vue index b9140a00b..aef6bc909 100644 --- a/components/menu/src/SubMenu.vue +++ b/components/menu/src/SubMenu.vue @@ -55,11 +55,15 @@ export default { } }, mounted () { - this.handleUpdated() + this.$nextTick(() => { + this.handleUpdated() + }) }, updated () { - this.handleUpdated() + this.$nextTick(() => { + this.handleUpdated() + }) }, beforeDestroy () {