This commit is contained in:
Pan 2019-02-27 13:47:28 +08:00
parent 8dc68c6b6d
commit 7832244c56
1 changed files with 2 additions and 3 deletions

View File

@ -62,10 +62,9 @@ export default {
}
},
data() {
// To fix https://github.com/PanJiaChen/vue-admin-template/issues/237
// TODO: refactor with render function
this.onlyOneChild = null
return {
// onlyOneChild: null
}
},
methods: {
hasOneShowingChild(children, parent) {