使用vue中vuex如何解决刷新后数据丢失问题

 解决办法,将请求回来的数据 用localStorage放在缓存中

猜你喜欢

转载自www.cnblogs.com/bamboopanders/p/12724568.html