Переглянути джерело

精读未登录情况下处理

natasha 5 місяців тому
батько
коміт
1580cb7bb6
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      src/views/bookShelf/bookPeruseItem.vue

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

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