diff --git a/src/views/backstage/personList.vue b/src/views/backstage/personList.vue index 9b57dbf..0b987e8 100644 --- a/src/views/backstage/personList.vue +++ b/src/views/backstage/personList.vue @@ -375,12 +375,7 @@ getUserList({ ...this.listQuery }).then(res => { this.listLoading = false if (res.code === 200) { - this.list = res.data.rows.map(item => { - if (!item.staffRoleName) { - item.staffRoleName = '普通员工' - } - return item - }) + this.list = res.data.rows this.total = res.data.total } }).catch(err => {