Commit 29a5af080347f212f27b3302633d7dd393f27bc7
1 parent
fa8080ad
fix: device detail model of matter time echo not true
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -233,7 +233,9 @@ | @@ -233,7 +233,9 @@ | ||
233 | <div>{{ item.value || '--' }}</div> | 233 | <div>{{ item.value || '--' }}</div> |
234 | <div>{{ item.unit }}</div> | 234 | <div>{{ item.unit }}</div> |
235 | </div> | 235 | </div> |
236 | - <div class="text-dark-800 text-xs">{{ formatToDateTime(item.time) || '--' }}</div> | 236 | + <div class="text-dark-800 text-xs"> |
237 | + {{ item.value ? formatToDateTime(item.time) : '--' }} | ||
238 | + </div> | ||
237 | </section> | 239 | </section> |
238 | </Card> | 240 | </Card> |
239 | </List.Item> | 241 | </List.Item> |