for (let section in context.state.sections) {
if (context.state.sections[section].selected) {
context.dispatch('getProduct');
}
}
getProduct: async (context, data) => {
await Axios.post('/api/complects/product/', {
}, {
timeout: 10000
})
.then(response => {
console.log(response);
})
.catch(error => {
})
},