1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-08 21:01:22 +08:00
This commit is contained in:
Pan 2019-02-27 13:47:28 +08:00
parent 8dc68c6b6d
commit 7832244c56

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) {