How do I Refresh Vuex getter when using it with local storage?

后端 未结 0 1015
情歌与酒
情歌与酒 2021-01-29 19:40

I\'ve a getter (with no state, just using it for convenience) which shows user his notifications:

getNotifications: () => JSON.parse(localStorage.getItem(\'not         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题