Skip to content

Commit d45e805

Browse files
committed
fix[Sidebar]: data should return a object
1 parent 0bc681e commit d45e805

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/layout/components/Sidebar/SidebarItem.vue

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export default {
6767
// To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
6868
// TODO: refactor with render function
6969
this.onlyOneChild = null
70+
return {}
7071
},
7172
methods: {
7273
hasOneShowingChild(children, parent) {

0 commit comments

Comments
 (0)