Commit 243df4d9 by 李伟康

commit 车型&销售缓存

1 parent 9e4805ee
...@@ -100,6 +100,7 @@ export default { ...@@ -100,6 +100,7 @@ export default {
}); });
}); });
this.$store.dispatch("setCarBrandsList", carBrandList); this.$store.dispatch("setCarBrandsList", carBrandList);
uni.$storage.set("carBrandList", carBrandList);
}) })
const { carBrand } = this const { carBrand } = this
if (carBrand) { if (carBrand) {
......
...@@ -67,6 +67,7 @@ export default { ...@@ -67,6 +67,7 @@ export default {
}) })
.then((res) => { .then((res) => {
this.$store.dispatch("setEmployeeList", res); this.$store.dispatch("setEmployeeList", res);
uni.$storage.set("employeeList", res || []);
}) })
}, },
handleSelect (item) { handleSelect (item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!