This commit is contained in:
ludj
2022-12-02 17:16:31 +08:00
2 changed files with 4 additions and 3 deletions

View File

@@ -220,7 +220,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()],
// 数据字典