11wqe1 1 هفته پیش
والد
کامیت
7105f99338
2فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 2 2
      src/views/HomeView.vue
  2. 7 7
      src/views/login/loginPage.vue

+ 2 - 2
src/views/HomeView.vue

@@ -275,9 +275,9 @@ export default {
 			betaL: this.$region,
 			clearifa: "",
 			msgNum: 0,
-			cocoNoteType: this.$route.query.cocoNoteType,
+			cocoNoteType: this.$route.query.type,
 			// cocoNoteType: '666',
-			courseId: this.$route.query.courseId,
+			courseId: this.$route.query.courseid,
 			// courseId: 'da5aa5b7-a98c-11f0-84cf-005056924926',
 			// 荔园集团下的学校
 			mergedList: [

+ 7 - 7
src/views/login/loginPage.vue

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