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