Skip to content
  • This project
    • Loading...
  • Sign in

liding / liantiaoFront

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • liantiaoFront
  • src
  • store
  • global
  • mutations.js
  • liding's avatar
    初始化 · b51fd0fe
    liding committed 2017-04-24 10:00:32 +0800
    b51fd0fe
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;
    }
};