修复问题

master
夜笙歌 3 weeks ago
parent 2f529c4cd8
commit e5ad285ad4

@ -401,7 +401,7 @@ export default {
await this.setAlarmInfos()
await this.getAubDevice()
await this.getTable2Data()
})
},1000*5)
},
methods: {
async getData() {

@ -90,13 +90,13 @@
<div class="title">{{ i.deviceName }}</div>
<div style="position: absolute;left: 27%;top: 0px;width: 45%;height: 100%;">
<div
v-for="val in Object.keys(i.deviceDataMap).slice(0,6).filter(e=> !(i.deviceDataMap[e].toString().includes('http')))"
v-for="val in Object.keys(i.deviceDataMap).slice(0,4).filter(e=> !(i.deviceDataMap[e].toString().includes('http')))"
:style="'width:'+(Object.keys(i.deviceDataMap).length<=2 ? '100%':'50%')" class="infoItem">
<div class="span">{{ val }}:</div>
<div class="spanBg"></div>
<div class="num">{{ i.deviceDataMap[val] }}</div>
</div>
<div class="infoItem">
<div class="infoItem" style="width: 100%">
<div class="span"> 时间 :</div>
<div class="spanBg"></div>
<div class="num">{{ i.updateTime }}</div>

Loading…
Cancel
Save