vuex 使用场景

比如当前登录用户的信息,多界面共享。

优势:多组件间的状态共享,也可以更改这个状态。

视频地址:https://www.imooc.com/video/19954

原文地址:https://www.cnblogs.com/zxyun/p/14163799.html