diff --git a/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue
index f1dce3c..02c4aeb 100644
--- a/src/views/dashboard/PanelGroup.vue
+++ b/src/views/dashboard/PanelGroup.vue
@@ -33,7 +33,8 @@
@@ -46,7 +47,8 @@
@@ -59,7 +61,8 @@
@@ -82,6 +85,7 @@ export default {
return {
archivesNum: 0,
caseNum: 0,
+ getDeviceFlag: false,
totalDeviceNum: 0,
onlineDeviceNum: 0,
offlineDeviceNum: 0
@@ -111,6 +115,7 @@ export default {
// 设备总数,在线设备数,离线设备数
handleTotalDeviceNum() {
Promise.all([getDeviceList({ page: 0, size: 10 }), getOnlineDevice()]).then((result) => {
+ this.getDeviceFlag = true
this.totalDeviceNum = result[0].totalElements
this.onlineDeviceNum = result[1]
this.offlineDeviceNum = this.totalDeviceNum - this.onlineDeviceNum