给指定导航添加ref属性,并使用this.$nextTick(())方法手动更新
this.$nextTick(() => {
this.$refs.menuind.updateOpened();
});
复制代码
给指定导航添加ref属性,并使用this.$nextTick(())方法手动更新
this.$nextTick(() => {
this.$refs.menuind.updateOpened();
});
复制代码