Commit 9091ac16c887210ae2dac002b6310611fa9e916d
1 parent
9c90106c
fix: device detail model of matter update time not accurate to the second
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -234,7 +234,7 @@ |
234 | 234 | <div>{{ item.unit }}</div> |
235 | 235 | </div> |
236 | 236 | <div class="text-dark-800 text-xs"> |
237 | - {{ item.value ? formatToDateTime(item.time) : '--' }} | |
237 | + {{ item.value ? formatToDateTime(item.time, 'YYYY-MM-DD HH:mm:ss') : '--' }} | |
238 | 238 | </div> |
239 | 239 | </section> |
240 | 240 | </Card> | ... | ... |