mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-01 11:47:51 +08:00
feat: improve users options
This commit is contained in:
parent
ddcf0f4219
commit
3054ddb13b
@ -12,6 +12,7 @@ export default {
|
||||
name: 'username',
|
||||
title: '用户名',
|
||||
unique: true,
|
||||
required: true,
|
||||
component: {
|
||||
type: 'string',
|
||||
showInTable: true,
|
||||
@ -24,6 +25,7 @@ export default {
|
||||
type: 'string',
|
||||
name: 'nickname',
|
||||
title: '昵称',
|
||||
required: true,
|
||||
component: {
|
||||
type: 'string',
|
||||
showInTable: true,
|
||||
@ -49,6 +51,7 @@ export default {
|
||||
type: 'password',
|
||||
name: 'password',
|
||||
title: '密码',
|
||||
required: true,
|
||||
hidden: true,
|
||||
component: {
|
||||
type: 'password',
|
||||
@ -62,9 +65,6 @@ export default {
|
||||
title: 'Token',
|
||||
unique: true,
|
||||
hidden: true,
|
||||
component: {
|
||||
type: 'string',
|
||||
},
|
||||
},
|
||||
],
|
||||
actions: [
|
||||
|
@ -47,7 +47,7 @@ export default async function (options = {}) {
|
||||
'users:check': check,
|
||||
});
|
||||
|
||||
resourcer.import({
|
||||
directory: path.resolve(__dirname, 'resources'),
|
||||
});
|
||||
// resourcer.import({
|
||||
// directory: path.resolve(__dirname, 'resources'),
|
||||
// });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user