fixed bug about findSider

This commit is contained in:
zhigang.li 2017-12-19 20:02:48 +08:00
parent fb4427cf1d
commit f07aafb717

View file

@ -24,7 +24,7 @@
methods: {
findSider () {
return this.$children.some(child => {
return child.$options._componentTag === 'Sider';
return child.$options.name === 'Sider';
});
}
},