src/store/index.js
@@ -13,6 +13,7 @@ }, state: { overlayshow: false, logintopath: '', infoone: { index: 0, num: 0 }, }, mutations: { @@ -22,6 +23,9 @@ reoverlayshow(state) { state.overlayshow = false }, updatelogintopath(state, router) { state.logintopath = router } }, getters })