mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 19:41:51 +08:00
fix[Sidebar]: data should return a object
This commit is contained in:
parent
e544c01e63
commit
fc277c75ee
@ -67,6 +67,7 @@ export default {
|
||||
// To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
|
||||
// TODO: refactor with render function
|
||||
this.onlyOneChild = null
|
||||
return {}
|
||||
},
|
||||
methods: {
|
||||
hasOneShowingChild(children, parent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user