1.实现回调后 路由的跳转
mutationsLoginHeaderBackFun(state,$router) { console.log(state); console.log($router); $router.push({path:'/registration'}) if (state.loginInputShow === false) { state.loginInputShow = true; state.login.loginPasswordButtonActive = false; //disable button } else { // 跳去 首页 } },