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