Update vehicle.vue

This commit is contained in:
Sneha 2023-09-01 20:34:45 +05:30
parent 868f7d3437
commit 3122422186

View file

@ -112,11 +112,11 @@ export default {
selectedMake: this.selectedMakefromStore(), selectedMake: this.selectedMakefromStore(),
selectedModel: this.selectedModelfromStore(), selectedModel: this.selectedModelfromStore(),
selectedStyle: this.selectedStylefromStore(), selectedStyle: this.selectedStylefromStore(),
carId: this.getCarIdFromStore(), carId: this.getCarIdfromStore(),
category: null, category: this.getCategoryfromStore(),
imageUrl: this.getImagefromStore(), imageUrl: this.getImagefromStore(),
imageVifNumber: null, imageVifNumber: this.getImageVifNumberfromStore(),
imageVifColor: null, imageVifColor: this.getImageVifColorfromStore(),
yearOptions: [], yearOptions: [],
makeOptions: [], makeOptions: [],
modelOptions: [], modelOptions: [],
@ -383,9 +383,18 @@ export default {
getImagefromStore() { getImagefromStore() {
return store.getters.vehicle.imageUrl; return store.getters.vehicle.imageUrl;
}, },
getCarIdFromStore() { getCarIdfromStore() {
return store.getters.vehicle.carId; return store.getters.vehicle.carId;
}, },
getCategoryfromStore() {
return store.getters.vehicle.category;
},
getImageVifNumberfromStore() {
return store.getters.vehicle.imageVifNumber;
},
getImageVifColorfromStore() {
return store.getters.vehicle.imageVifColor;
},
}, },
components: { components: {