diff --git a/src/components/layout/layout.vue b/src/components/layout/layout.vue index 768011a..25d7800 100644 --- a/src/components/layout/layout.vue +++ b/src/components/layout/layout.vue @@ -24,7 +24,7 @@ methods: { findSider () { return this.$children.some(child => { - return child.$options._componentTag === 'Sider'; + return child.$options.name === 'Sider'; }); } }, -- libgit2 0.21.4