BUG 30269

This commit is contained in:
aixianling
2022-06-17 09:35:56 +08:00
parent 43d1e6634d
commit 00b3535a14

View File

@@ -54,7 +54,7 @@ export default {
}
},
onLoad() {
this.selected = this.$route.query.selected?.map(id => ({id})) || []
this.selected = [this.$route.query.selected].flat().filter(e => !!e)?.map(id => ({id})) || []
this.getAllDepts()
},
methods: {