git clone git@github.com:wzdxy/vue-vuex-demo.git cd vue-vuex-demo npm install npm run dev open url : http://localhost:8091/views/admin.html click button: 切换状态 点击查看GIF演示