|
@@ -34,6 +34,10 @@ const actions = {
|
|
const res = await this.$axios.$delete(`${api.productInfo}/${payload}`);
|
|
const res = await this.$axios.$delete(`${api.productInfo}/${payload}`);
|
|
return res;
|
|
return res;
|
|
},
|
|
},
|
|
|
|
+ async import({ commit }, payload) {
|
|
|
|
+ const res = await this.$axios.$post(`${api.productInfo}/import`, payload);
|
|
|
|
+ return res;
|
|
|
|
+ },
|
|
};
|
|
};
|
|
export default {
|
|
export default {
|
|
namespaced: true,
|
|
namespaced: true,
|