数据权限注解支持自定义字段名

This commit is contained in:
RuoYi
2026-04-03 15:40:56 +08:00
parent bf023fc2f7
commit cc4fe8f7cb
4 changed files with 60 additions and 43 deletions

View File

@@ -526,7 +526,7 @@ export default {
// 多选框选中数据
handleSelectionChange(selection) {
this.ids = selection.map(item => item.${pkColumn.javaField})
this.single = selection.length!==1
this.single = selection.length !== 1
this.multiple = !selection.length
},
/** 新增按钮操作 */