mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 23:31:52 +08:00
fix: user.data
This commit is contained in:
parent
2b0c8ec31f
commit
88928901a7
@ -7,9 +7,7 @@ import { CrudSchema, useCrudSchemas } from '@/hooks/web/useCrudSchemas'
|
||||
const { t } = useI18n()
|
||||
// 表单校验
|
||||
export const rules = reactive({
|
||||
name: [required],
|
||||
code: [required],
|
||||
sort: [required],
|
||||
nickname: [required],
|
||||
status: [required]
|
||||
})
|
||||
// crudSchemas
|
||||
@ -28,6 +26,9 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
{
|
||||
label: '用户账号',
|
||||
field: 'username',
|
||||
form: {
|
||||
show: false
|
||||
},
|
||||
search: {
|
||||
show: true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user