state
子模块拿到父模块或其他模块的state、getters
const { commit, dispatch, state, rootState,rootGetters } = store
console.log(rootState) // 打印根 state
console.log(rootState.list) // 打印其他模块的 state
console.log(rootGetters['list/ceshi']) // 打印其他模块的 getters
子模块拿到父模块或其他模块的mutations 、actions
commit('ceshi', data) // 调用当前模块的 mutations
commit('list/ceshi', data, {root: true}) // 调用其他模块的 mutations
dispatch('list/get', {}, {root: true}) // 调用其他模块的 actions