@@ -42,4 +42,4 @@
height: 100%;
width: 100%;
background: #e6eaf0;
- }</style><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.deaf1a988ff30f12b1f5.js></script><script type=text/javascript src=/static/js/app.0ad203b64616f85b14b4.js></script></body></html>
+ }</style><body><div id=app></div><script type=text/javascript src=/static/js/manifest.2ae2e69a05c33dfc65f8.js></script><script type=text/javascript src=/static/js/vendor.deaf1a988ff30f12b1f5.js></script><script type=text/javascript src=/static/js/app.dfa5ce0997cdefd1edf6.js></script></body></html>
@@ -58,6 +58,7 @@ export default {
this.$router.push("/");
},
login() {
+ axios.defaults.withCredentials = true
console.log("1");
var _this = this;
this.ajax
@@ -30,7 +30,7 @@ router.beforeEach((to, from, next) => {
store.commit("update", ["userId", res.data[0][0].userid]);
})
.catch((err) => {
- window.location.href = "https://edu.cocorobo.cn/course/login?type=1";
+ //window.location.href = "https://edu.cocorobo.cn/course/login?type=1";
});
next();