fixed bug about findSider
This commit is contained in:
parent
fb4427cf1d
commit
f07aafb717
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
methods: {
|
methods: {
|
||||||
findSider () {
|
findSider () {
|
||||||
return this.$children.some(child => {
|
return this.$children.some(child => {
|
||||||
return child.$options._componentTag === 'Sider';
|
return child.$options.name === 'Sider';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue