mpvue vuex持久化缓存 , 使用vuex-persistedstate插件 npm install vuex-persistedstate --save 在store/index.js中添加plugins: export default new Vuex.Store({ state, mutations, getters, actions, plugins: [ createPersistedState({<