wenhongquan 2 anni fa
parent
commit
88013d5a7b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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>