Skip to content

Commit

Permalink
fix(moment): feat(konva): utils
Browse files Browse the repository at this point in the history
  • Loading branch information
h7ml committed Jun 8, 2022
1 parent ceafa78 commit e36f501
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/views/CloudPressure/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -835,14 +835,18 @@
? this.$moment
.unix(i.profile.startTime)
.format('YYYY-MM-DD HH:mm:ss')
: i.profile.startTime
: this.$moment
.unix(i.profile.startTime)
.format('YYYY-MM-DD HH:mm:ss')
: this.$translateTitle('pressure.暂未配置')
i.endTime = i?.profile?.endTime
? timeExp.exec(i.profile.endTime)
? this.$moment
.unix(i.profile.endTime)
.format('YYYY-MM-DD HH:mm:ss')
: i.profile.endTime
: this.$moment
.unix(i.profile.endTime)
.format('YYYY-MM-DD HH:mm:ss')
: this.$translateTitle('pressure.暂未配置')
})
this.list = results
Expand Down

0 comments on commit e36f501

Please sign in to comment.