|
@@ -85,9 +85,7 @@ export default {
|
|
|
({ data }) => {
|
|
({ data }) => {
|
|
|
this.groups = data
|
|
this.groups = data
|
|
|
this.expandedKeys = [this.group.path]
|
|
this.expandedKeys = [this.group.path]
|
|
|
- if (data[0]?.children?.length) {
|
|
|
|
|
- this.drawer = this.$needShow
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.drawer = this.$needShow
|
|
|
},
|
|
},
|
|
|
() => {
|
|
() => {
|
|
|
this.groups = null
|
|
this.groups = null
|