zaijin 1 rok temu
rodzic
commit
86c13d70be
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      h5_web/pages/publicCourse/publicCourse.vue

+ 5 - 5
h5_web/pages/publicCourse/publicCourse.vue

@@ -79,11 +79,11 @@ export default {
 			})
 			if (code === 200) {
 				const type = this.iswap();
-				// const { text } = data.find((item) => item.label === type);
-				// if (!location.href.includes(text)) {
-				// 	location.href = text;
-				// 	return
-				// }
+				const { text } = data.find((item) => item.label === type);
+				if (!location.href.includes(text)) {
+					location.href = text;
+					return
+				}
 				this.handleVideoList()
 			}
 		},