// actions
const actions = {
setOmegas ({ commit }, payload) {
commit('setOmegas', payload);
privateFunction();
}
}
const mutations = {
setOmegas (state, omegas) {
state.omegas = omegas
}
}
export default {
namespaced: true,
state,
getters,
actions,
mutations
}
function privateFunction(){
}
" index == 0 ? { marginLeft: sliderShift} : {}"
В реальном запросе есть match.