Commit 88928901a712749f00ddee5c3606c7d01ed38a91
1 parent
2b0c8ec3
fix: user.data
Showing
1 changed file
with
4 additions
and
3 deletions
yudao-ui-admin-vue3/src/views/system/user/user.data.ts
| ... | ... | @@ -7,9 +7,7 @@ import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas' |
| 7 | 7 | const { t } = useI18n() |
| 8 | 8 | // 表单校验 |
| 9 | 9 | export const rules = reactive({ |
| 10 | - name: [required], | |
| 11 | - code: [required], | |
| 12 | - sort: [required], | |
| 10 | + nickname: [required], | |
| 13 | 11 | status: [required] |
| 14 | 12 | }) |
| 15 | 13 | // crudSchemas |
| ... | ... | @@ -28,6 +26,9 @@ const crudSchemas = reactive<CrudSchema[]>([ |
| 28 | 26 | { |
| 29 | 27 | label: '用户账号', |
| 30 | 28 | field: 'username', |
| 29 | + form: { | |
| 30 | + show: false | |
| 31 | + }, | |
| 31 | 32 | search: { |
| 32 | 33 | show: true |
| 33 | 34 | } | ... | ... |