fix: 角色权限分配不显示

This commit is contained in:
2024-05-15 09:37:11 +08:00
parent f4e308a50f
commit cf60ace60f
2 changed files with 2 additions and 2 deletions

View File

@@ -661,7 +661,7 @@ export default {
this.$nextTick(function() {
for (let j = 0; j < row.roles.length; j++) {
for (let i = 0; i < this.rolesDatas.length; i++) {
if (this.rolesDatas[i].roleId == row.roles[j].roleId) {
if (this.rolesDatas[i].role_id == row.roles[j].role_id) {
this.$refs.roleTable.toggleRowSelection(this.rolesDatas[i], true)
break
}