Commit 39d05e00 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复数据分析页面在线设备错误

parent 1a6da35f
......@@ -69,7 +69,7 @@
<h2
style="color: #69f3ff;text-shadow: 0 0 10px #69f3ff5b,0 0 20px #69f3ff5b,0 0 30px #69f3ff5b,0 0 40px #69f3ff5b;"
>
{{ centerTop.deviceTotalCount || 0 }}
{{ centerTop.deviceOnlineCount || 0 }}
</h2>
<p>在线设备总数</p>
</div>
......@@ -278,6 +278,7 @@ export default {
const { code, data } = res;
if (code == 1 && data.data.length > 0) {
this.centerTop = data.data[0];
console.log(this.centerTop);
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment