Skip to content

Commit

Permalink
fix[Sidebar]: data should return a object
Browse files Browse the repository at this point in the history
  • Loading branch information
PanJiaChen committed Feb 27, 2019
1 parent e544c01 commit fc277c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/layout/components/Sidebar/SidebarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fc277c7

Please sign in to comment.