classic-ui-dev/modules/account/store/mutations/Statistic.js

9 lines
255 B
JavaScript
Raw Normal View History

2022-04-21 23:05:56 -04:00
export const statistic = {
SET_STATISTIC(state, { netId, statistic }) {
this._vm.$set(state.ui[`netId${netId}`], 'statistic', statistic)
},
REMOVE_STATISTIC(state, { netId }) {
this._vm.$set(state.ui[`netId${netId}`], 'statistic', {})
}
}