I want to know what is the meaning of [INCREASE](state, data){ }
from this grammar:
import INCREASE from ...
const mutations = {
[INCREASE](state, data){
state.points = data
}
}
thanks a lot !
I want to know what is the meaning of [INCREASE](state, data){ }
from this grammar:
import INCREASE from ...
const mutations = {
[INCREASE](state, data){
state.points = data
}
}
thanks a lot !