wenhongquan 2 лет назад
Родитель
Сommit
88013d5a7b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/components/HomeComponents/stationPie.vue

+ 2 - 2
src/components/HomeComponents/stationPie.vue

@@ -152,7 +152,7 @@
                 total += devices.length
                 for (var i in devices) {
                     if (devices[i].type == 'cabinet') {
-                        const boxinfo = null
+                        let boxinfo = null
                         try {
                              boxinfo =  await getInfo(devices[i].code);
                         }
@@ -336,4 +336,4 @@
         width: 9vw;
         margin-top: 1vh;
     }
-</style>
+</style>