fix[Sidebar]: data should return a object
This commit is contained in:
		@@ -67,6 +67,7 @@ export default {
 | 
				
			|||||||
    // To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
 | 
					    // To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
 | 
				
			||||||
    // TODO: refactor with render function
 | 
					    // TODO: refactor with render function
 | 
				
			||||||
    this.onlyOneChild = null
 | 
					    this.onlyOneChild = null
 | 
				
			||||||
 | 
					    return {}
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
    hasOneShowingChild(children, parent) {
 | 
					    hasOneShowingChild(children, parent) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user