From 80dddac4e8b0a1cb605b72cbdfcc94bdd8eb88e8 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Mon, 19 Sep 2022 19:10:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E5=AF=BC=E5=87=BA=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98=20(#17996)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016829 --user=宋昌昌 【测试跟踪】功能用例导出,自定义时间字段是标准时间 https://www.tapd.cn/55049933/s/1244967 Co-authored-by: song-cc-rock --- .../components/project/template/CustomFiledComponent.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/business/components/project/template/CustomFiledComponent.vue b/frontend/src/business/components/project/template/CustomFiledComponent.vue index f53dc5eb58..0ef81b2233 100644 --- a/frontend/src/business/components/project/template/CustomFiledComponent.vue +++ b/frontend/src/business/components/project/template/CustomFiledComponent.vue @@ -73,6 +73,7 @@ class="custom-with" @change="handleChange" v-else-if="data.type === 'date' || data.type === 'datetime'" + :value-format="data.type === 'date' ? 'yyyy-MM-dd' : 'yyyy-MM-dd HH:mm:ss'" :disabled="disabled" v-model="data[prop]" :type="data.type === 'date' ? 'date' : 'datetime'"