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

@@ -9,8 +9,8 @@ import lombok.SneakyThrows;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.beanutils.ConvertUtils;
import org.nl.common.constants.FieldConstant;
import org.nl.common.domain.query.PageQuery;
import org.nl.common.constants.GeneralDefinition;
import org.nl.common.domain.query.PageQuery;
import org.nl.common.utils.SecurityUtils;
import org.nl.modules.common.config.FileProperties;
import org.nl.modules.common.utils.FileUtil;

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
}