fix:用户页面(todo:角色,部门,数据分配)

This commit is contained in:
zhangzhiqiang
2022-12-02 15:58:06 +08:00
parent 06cd3b453c
commit 05457c0904
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ export default {
name: 'User',
components: { Treeselect, crudOperation, rrOperation, udOperation, pagination },
cruds() {
return CRUD({ title: '用户', url: 'api/users', crudMethod: { ...crudUser }})
return CRUD({ title: '用户', idField: 'user_id', url: 'api/users', crudMethod: { ...crudUser }})
},
mixins: [presenter(), header(), form(defaultForm), crud()],
// 数据字典