Commit 29a5af080347f212f27b3302633d7dd393f27bc7

Authored by ww
1 parent fa8080ad

fix: device detail model of matter time echo not true

... ... @@ -233,7 +233,9 @@
233 233 <div>{{ item.value || '--' }}</div>
234 234 <div>{{ item.unit }}</div>
235 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 239 </section>
238 240 </Card>
239 241 </List.Item>
... ...