|
@@ -922,7 +922,7 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push(
|
|
this.$router.push(
|
|
|
{ path: this.redirect || "/",
|
|
{ path: this.redirect || "/",
|
|
|
- query: { cocoNoteType: this.cocoNoteType },
|
|
|
|
|
|
|
+ query: { type: this.cocoNoteType },
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
this.addOp3(
|
|
this.addOp3(
|
|
@@ -1030,7 +1030,7 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: this.redirect || "/",
|
|
path: this.redirect || "/",
|
|
|
- query: { cocoNoteType: this.cocoNoteType }
|
|
|
|
|
|
|
+ query: { type: this.cocoNoteType }
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
@@ -1058,7 +1058,7 @@ export default {
|
|
|
// 如果已登录,直接重定向
|
|
// 如果已登录,直接重定向
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: this.redirect || "/",
|
|
path: this.redirect || "/",
|
|
|
- query: { cocoNoteType: this.cocoNoteType }
|
|
|
|
|
|
|
+ query: { type: this.cocoNoteType }
|
|
|
});
|
|
});
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
@@ -1066,7 +1066,7 @@ export default {
|
|
|
if (userid) {
|
|
if (userid) {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: this.redirect || "/",
|
|
path: this.redirect || "/",
|
|
|
- cocoNoteType: this.cocoNoteType
|
|
|
|
|
|
|
+ type: this.cocoNoteType
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -1391,7 +1391,7 @@ export default {
|
|
|
} else {
|
|
} else {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: this.redirect || "/",
|
|
path: this.redirect || "/",
|
|
|
- cocoNoteType: this.cocoNoteType
|
|
|
|
|
|
|
+ type: this.cocoNoteType
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
this.$message.success(this.lang.Loginsuccessful);
|
|
this.$message.success(this.lang.Loginsuccessful);
|
|
@@ -1679,8 +1679,8 @@ export default {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
path: this.redirect || "/",
|
|
path: this.redirect || "/",
|
|
|
query: {
|
|
query: {
|
|
|
- courseId: this.cocoNoteType ? this.cocoNoteCid : this.courseId,
|
|
|
|
|
- cocoNoteType: this.cocoNoteType
|
|
|
|
|
|
|
+ courseid: this.cocoNoteType ? this.cocoNoteCid : this.courseId,
|
|
|
|
|
+ type: this.cocoNoteType
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
this.addOp3(
|
|
this.addOp3(
|