natasha há 2 anos atrás
pai
commit
f69471917d
2 ficheiros alterados com 3 adições e 2 exclusões
  1. 1 1
      package.json
  2. 2 1
      src/views/TextbookDetail.vue

+ 1 - 1
package.json

@@ -17,7 +17,7 @@
     "@tinymce/tinymce-vue": "^3.2.8",
     "@tinymce/tinymce-vue": "^3.2.8",
     "awe-dnd": "^0.3.4",
     "awe-dnd": "^0.3.4",
     "axios": "0.18.1",
     "axios": "0.18.1",
-    "book-ui": "file:../GCLS-Book-question-ui/book-ui-0.3.24.tgz",
+    "book-ui": "file:../GCLS-Book-question-ui/book-ui-0.3.25.tgz",
     "cnchar": "^3.0.1",
     "cnchar": "^3.0.1",
     "cnchar-all": "^3.0.1",
     "cnchar-all": "^3.0.1",
     "cnchar-order": "^3.0.1",
     "cnchar-order": "^3.0.1",

+ 2 - 1
src/views/TextbookDetail.vue

@@ -469,7 +469,8 @@ export default {
     getPurchase() {
     getPurchase() {
       if (this.bookIsBuy == "true") {
       if (this.bookIsBuy == "true") {
         this.$router.push(
         this.$router.push(
-          "/courseview?bookId=" + this.TextBookId + "&showCourse=true"
+          "/courseview?bookId=" + this.TextBookId + "&showCourse=true&invok_module=" +
+          this.$route.query.invok_module
         );
         );
       } else {
       } else {
         this.NopymentShow = true;
         this.NopymentShow = true;