Skip to content

Commit e2df926

Browse files
committed
fix version ui
1 parent cfb68ba commit e2df926

File tree

1 file changed

+3
-2
lines changed
  • CrazyCarBackground/src/views/version

1 file changed

+3
-2
lines changed

CrazyCarBackground/src/views/version/index.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</el-table-column>
3333
<el-table-column label="Date" width="150px" align="center">
3434
<template slot-scope="{row}">
35-
<span>{{ row.updata_time }}</span>
35+
<span>{{ parseTime(row.updata_time, '{y}-{m}-{d} {h}:{i}') }}</span>
3636
</template>
3737
</el-table-column>
3838
<el-table-column label="Actions" align="center" width="230" class-name="small-padding fixed-width">
@@ -127,7 +127,8 @@ export default {
127127
timestamp: [{ type: 'date', required: true, message: 'timestamp is required', trigger: 'change' }],
128128
title: [{ required: true, message: 'title is required', trigger: 'blur' }]
129129
},
130-
downloadLoading: false
130+
downloadLoading: false,
131+
parseTime: parseTime
131132
}
132133
},
133134
created() {

0 commit comments

Comments
 (0)