fix(测试跟踪): 功能用例导出自定义时间字段格式问题 (#17996)

--bug=1016829 --user=宋昌昌 【测试跟踪】功能用例导出,自定义时间字段是标准时间 https://www.tapd.cn/55049933/s/1244967

Co-authored-by: song-cc-rock <changchang.song@fit2cloud.com>
This commit is contained in:
MeterSphere Bot 2022-09-19 19:10:52 +08:00 committed by GitHub
parent 58b4c5196a
commit 80dddac4e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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'"