|
@@ -1029,15 +1029,15 @@ export default {
|
|
|
}
|
|
|
);
|
|
|
|
|
|
- let userjson = await getUser({ userid: this.stuInfoCode.userid });
|
|
|
+ // let userjson = await getUser({ userid: this.stuInfoCode.userid });
|
|
|
|
|
|
console.log("this.stuInfoCode", this.stuInfoCode);
|
|
|
- window.localStorage["identity"] = 0;
|
|
|
+ // window.localStorage["identity"] = 0;
|
|
|
|
|
|
- window.topU.U.UF.Cookie.set("cocoroboLoginType=2");
|
|
|
- window.topU
|
|
|
- ? (window.topU.US.userInfo = userjson)
|
|
|
- : (window.parent.US.userInfo = userjson);
|
|
|
+ // window.topU.U.UF.Cookie.set("cocoroboLoginType=2");
|
|
|
+ // window.topU
|
|
|
+ // ? (window.topU.US.userInfo = userjson)
|
|
|
+ // : (window.parent.US.userInfo = userjson);
|
|
|
window.topU.postMessage(
|
|
|
{
|
|
|
tools: "inviteLogin",
|
|
@@ -1049,7 +1049,7 @@ export default {
|
|
|
|
|
|
this.$message.success("登录成功");
|
|
|
|
|
|
- this.$router.push({ path: "/", query: { courseId: this.courseId } });
|
|
|
+ this.$router.push({ path: this.redirect || "/", query: { courseId: this.courseId } });
|
|
|
sessionStorage.setItem("lytype", "courseDetail");
|
|
|
|
|
|
console.log('ok');
|