feat: 时间格式根据接口返回格式动态改变

This commit is contained in:
@changcode
2022-04-28 18:11:49 +08:00
parent 6b96276855
commit ec829e64b3
16 changed files with 37 additions and 32 deletions

View File

@@ -34,7 +34,7 @@
<template #default="scope" :column="item">
<span v-if="item.prop === 'dataRange'">
<template v-if="scope.row.startTime && scope.row.endTime">
{{scope.row.startTime}}-{{scope.row.endTime}}
{{dateFormatByAppearance(scope.row.startTime)}}-{{dateFormatByAppearance(scope.row.endTime)}}
</template>
</span>
<span v-else-if="item.prop === 'type'">