mutations.js 260 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 import * as types from './mutations_types' import { store } from '../../util/'; module.exports = { [types.SHOW_LOADING](state) { state.ajax_loading = true; }, [types.HIDE_LOADING](state) { state.ajax_loading = false; } };