mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-23 13:03:07 +00:00
fix:#746
fix:#746
This commit is contained in:
@@ -162,7 +162,7 @@ export default {
|
||||
methods: {
|
||||
setAuthorityIds() {
|
||||
this.tableData && this.tableData.forEach((user) => {
|
||||
const authorityIds = user.authorities && user.authorities.forEach(i => {
|
||||
const authorityIds = user.authorities && user.authorities.map(i => {
|
||||
return i.authorityId
|
||||
})
|
||||
user.authorityIds = authorityIds
|
||||
|
||||
Reference in New Issue
Block a user