natasha 6 maanden geleden
bovenliggende
commit
6eff50d0da
1 gewijzigde bestanden met toevoegingen van 4 en 6 verwijderingen
  1. 4 6
      src/views/courseList.vue

+ 4 - 6
src/views/courseList.vue

@@ -628,13 +628,11 @@ export default {
       //   }
       sessionStorage.setItem("Bookdetail", JSON.stringify(row));
       if (row.courseware_category === "RLC") {
-        this.$router.push(
-          "/GCLS-Book-Component-RLC/#/adultInput?bookId=" + row.id
-        );
+        location.href =
+          "/GCLS-Book-Component-RLC/#/adultInput?bookId=" + row.id;
       } else {
-        this.$router.push(
-          "/GCLS-Book-Component-NPC/#/adultInput?bookId=" + row.id
-        );
+        location.href =
+          "/GCLS-Book-Component-NPC/#/adultInput?bookId=" + row.id;
       }
     },
     // 预览