vbea 2 лет назад
Родитель
Сommit
73b515bb57
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      Strides-APP/app/pages/chargingV2/ChargingPage.js

+ 7 - 7
Strides-APP/app/pages/chargingV2/ChargingPage.js

@@ -116,13 +116,13 @@ export default class ChargingPage extends Component {
         console.log("状态", res.data.status);
         switch (res.data.status) {
           case 'Available': //可用的
-          if (this.waitAuthentic) {
-            state.isAuthentic = true;
-            this.refreshChargeData(3000);
-          } else {
-            state.isAuthentic = false;
-          }
-          break;
+            if (this.waitAuthentic) {
+              state.isAuthentic = true;
+              this.refreshChargeData(3000);
+            } else {
+              state.isAuthentic = false;
+            }
+            break;
           case 'Preparing': //已插入
             this.waitAuthentic = false;
             if (this.waitStartCharging) {