|
|
@@ -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 {
|