src/utils/request.js @@ -111,6 +111,7 @@ ) .then(() => { console.log('选择重新登录'); location.href = "/index"; this.$router.replace("/login"); })