From b46ac885d42caeb7a42fc5a8248a0417de1b2855 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 7 Dec 2022 22:14:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=B6=E9=97=B4=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/codegen/vue3/views/data.ts.vm | 2 +- yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm index 623345830..0aabf8d86 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm @@ -48,7 +48,7 @@ const crudSchemas = reactive({ component: 'DatePicker', componentProps: { type: 'datetime', - valueFormat: 'YYYY-MM-DD HH:mm:ss' + valueFormat: 'x' } }, #elseif($column.htmlType == "editor")## 文本编辑器 diff --git a/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts b/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts index 96d62e261..01eafc924 100644 --- a/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts +++ b/yudao-ui-admin-vue3/src/views/system/tenant/tenant.data.ts @@ -104,7 +104,8 @@ const crudSchemas = reactive({ form: { component: 'DatePicker', componentProps: { - type: 'datetime' + type: 'datetime', + valueFormat: 'x' } } },