BUG 30271

This commit is contained in:
aixianling
2022-06-17 09:51:43 +08:00
parent 00b3535a14
commit 45d4661d96
2 changed files with 1 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ export default {
}
},
onLoad() {
this.selected = [this.$route.query.selected].flat().filter(e => !!e)?.map(id => ({id})) || []
this.selected = [this.$route.query.selected].flat().filter(e => !!e)?.map(id => ({id, kind: /^\d{1,5}}$/.test(id) ? 'dept' : 'user'})) || []
this.getAllDepts()
},
methods: {