app.vue里面 存 this.$store.state.jzj = '这里面是你想存放得数据'; 存完之后要在 store 文件夹下的 index.js 文件里面 state 下面给个值 state: { jzj:'' } home.vue里面取 this.$store.state.jzj