Commit f07aafb7177418d1617b059c6ed291c93f7aa6d5

Authored by zhigang.li
1 parent fb4427cf

fixed bug about findSider

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/layout/layout.vue
... ... @@ -24,7 +24,7 @@
24 24 methods: {
25 25 findSider () {
26 26 return this.$children.some(child => {
27   - return child.$options._componentTag === 'Sider';
  27 + return child.$options.name === 'Sider';
28 28 });
29 29 }
30 30 },
... ...