range chaine #4
@ -71,6 +71,9 @@ const mutations = {
|
|||||||
}else{
|
}else{
|
||||||
state.arrayresultchaines.push({chaine: payload.chaine,name: payload.name,emission: payload.emission});
|
state.arrayresultchaines.push({chaine: payload.chaine,name: payload.name,emission: payload.emission});
|
||||||
}
|
}
|
||||||
|
state.arrayresultchaines=state.arrayresultchaines.sort(function (a,b){
|
||||||
|
return ((a.chaine < b.chaine) ? -1 : ((a.chaine > b.chaine) ? 1 : 0));
|
||||||
|
})
|
||||||
},
|
},
|
||||||
setUserData (state, payload) {
|
setUserData (state, payload) {
|
||||||
console.log('setUserData payload = ', payload)
|
console.log('setUserData payload = ', payload)
|
||||||
|
Loading…
Reference in New Issue
Block a user