Browse Source

精读未登录情况下处理

natasha 5 months ago
parent
commit
1580cb7bb6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/bookShelf/bookPeruseItem.vue

+ 2 - 2
src/views/bookShelf/bookPeruseItem.vue

@@ -216,7 +216,7 @@ export default {
     handleChangeWay(type) {
     handleChangeWay(type) {
       if (!this.userMessage) {
       if (!this.userMessage) {
         this.$refs.header.handleLogin(
         this.$refs.header.handleLogin(
-          "/bookItem?headerConfig=" +
+          "/bookPeruseItem?headerConfig=" +
             this.$route.query.headerConfig +
             this.$route.query.headerConfig +
             "&cardType=" +
             "&cardType=" +
             this.bookType +
             this.bookType +
@@ -389,8 +389,8 @@ export default {
       this.headerBg = arr[3] ? arr[3] : "#00ADEF";
       this.headerBg = arr[3] ? arr[3] : "#00ADEF";
       this.previousPage = arr[4] ? arr[4] : "商城";
       this.previousPage = arr[4] ? arr[4] : "商城";
     }
     }
+    this.getInfo();
     if (this.userMessage) {
     if (this.userMessage) {
-      this.getInfo();
       if (this.$route.query.paywei) {
       if (this.$route.query.paywei) {
         this.handleOrder();
         this.handleOrder();
       }
       }