From bea5189943b90342c56fb6aae453adc5e1862d8d Mon Sep 17 00:00:00 2001 From: xingyu Date: Thu, 12 Oct 2023 11:25:23 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=97=A5=E6=9C=9F=E5=8C=BA=E9=97=B4?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=20=E5=A2=9E=E5=8A=A0=E8=B5=B7=E5=A7=8B?= =?UTF-8?q?=E5=92=8C=E7=BB=93=E6=9D=9F=E9=BB=98=E8=AE=A4=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/user.data.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/system/user/user.data.ts b/src/views/system/user/user.data.ts index 87b0af2f..8e6f9602 100644 --- a/src/views/system/user/user.data.ts +++ b/src/views/system/user/user.data.ts @@ -1,5 +1,6 @@ import { h } from 'vue' import { Switch } from 'ant-design-vue' +import dayjs from 'dayjs' import { useMessage } from '@/hooks/web/useMessage' import { listSimpleDept } from '@/api/system/dept' import { listSimplePosts } from '@/api/system/post' @@ -110,7 +111,9 @@ export const searchFormSchema: FormSchema[] = [ field: 'createTime', component: 'RangePicker', componentProps: { - format: 'YYYY-MM-DD HH:mm:ss', + showTime: { + defaultValue: [dayjs('00:00:00', 'HH:mm:ss'), dayjs('23:59:59', 'HH:mm:ss')], + }, }, colProps: { span: 8 }, },