vuex值丢失

vuex值丢失且locastorage不生效
当commit在router.push之后会出现,
解决方法:在router.push之前commit

posted @ 2021-12-26 13:42  abcdefgab  阅读(31)  评论(0)    收藏  举报