组件通信 VUEX 官网:https://vuex.vuejs.org/zh/guide/ 安装 (有yarn): yarn add vuex@next --save 安装(无yarn-最好用这个):n