From 88928901a712749f00ddee5c3606c7d01ed38a91 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 20 Jul 2022 13:04:37 +0800 Subject: [PATCH] fix: user.data --- yudao-ui-admin-vue3/src/views/system/user/user.data.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/yudao-ui-admin-vue3/src/views/system/user/user.data.ts b/yudao-ui-admin-vue3/src/views/system/user/user.data.ts index 09c6773ea..49d65e267 100644 --- a/yudao-ui-admin-vue3/src/views/system/user/user.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/user/user.data.ts @@ -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([ { label: '用户账号', field: 'username', + form: { + show: false + }, search: { show: true }