Blame view

src/store/index.js 207 Bytes
493fa9ed   夏洋涛   feat:转移
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { createStore } from 'vuex'

export default createStore({
  state: {
    userInfo: ''
  },
  mutations: {
    setUserInfo (state, value) {
      state.userInfo = value
    }
  },
  actions: {

  }

})