解决vuex state数据刷新清空的几种方法 参考文章: (1)解决vuex state数据刷新清空的几种方法 (2)https://www.cnblogs.com/fangnaING/p/7730440.html 备忘一下。