Răsfoiți Sursa

Vehicle adding page
https://dev.wormwood.com.sg/zentao/task-view-21.html

vbea 2 ani în urmă
părinte
comite
0f9b3ebb33
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      Strides-APP/app/pages/vehicles/VehicleDetail.js

+ 2 - 2
Strides-APP/app/pages/vehicles/VehicleDetail.js

@@ -162,7 +162,7 @@ export default class VehicleDetail extends Component {
       toastShort($t('profile.msgInputPlate'));
       return;
     }
-    if (!this.state.vehicleInfo.batteryCapacity) {
+    /*if (!this.state.vehicleInfo.batteryCapacity) {
       toastShort($t('profile.msgInputBatCap'));
       return;
     }
@@ -173,7 +173,7 @@ export default class VehicleDetail extends Component {
     if (!this.state.vehicleInfo.vehiclePhoto) {
       toastShort($t('profile.msgVehiclePhoto'));
       return;
-    }
+    }*/
     if (this.state.isEdit) {
       this.updateVehicle(this.state.vehicleInfo)
     } else {