Browse Source

修改时间戳转换格式

master
xuesinan 4 years ago
parent
commit
67a9d605e3
  1. 2
      src/components/List/List.vue

2
src/components/List/List.vue

@ -395,7 +395,7 @@ export default {
}, },
// //
timeChange(time) { timeChange(time) {
let updateTime = this.$moment(time).format('hh:mm:ss'); let updateTime = this.$moment(time).format('HH:mm');
let updateDate = this.auditOptions.selectedDate + ' ' + updateTime; let updateDate = this.auditOptions.selectedDate + ' ' + updateTime;
this.chooseTime = this.$moment(updateDate).format('x'); this.chooseTime = this.$moment(updateDate).format('x');
}, },

Loading…
Cancel
Save