1002884655 4 anni fa
parent
commit
6ce7b4af60

+ 1
- 1
src/pages/Index/BookDetail/index.vue Vedi File

@@ -117,7 +117,7 @@ export default {
117 117
   onShareAppMessage () {
118 118
     return {
119 119
       title: this.ArticleInfo.shareSetting === null ? this.ArticleInfo.name : this.ArticleInfo.shareSetting.title,
120
-      imageUrl:this.ArticleInfo.shareSetting === null ? this.ArticleInfo.poster : this.ArticleInfo.shareSetting.imageUrl,
120
+      imageUrl: this.ArticleInfo.shareSetting === null ? this.ArticleInfo.poster : this.ArticleInfo.shareSetting.imageUrl,
121 121
       path: `/pages/Index/BookDetail/index?id=${Taro.getCurrentInstance().router.params.id}`
122 122
     }
123 123
   },

+ 1
- 1
src/pages/Index/Search/index.vue Vedi File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <view class="page">
3
-    <MainPage>
3
+    <MainPage @UserInfoChange="Init">
4 4
       <view class="page flex-v">
5 5
         <!-- 搜索 -->
6 6
         <view class="SearchContainer">

+ 2
- 1
src/pages/Study/index.vue Vedi File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <view class="page">
3
-    <MainPage @UserInfoChange="Init">
3
+    <MainPage ref="MainPage" @UserInfoChange="Init">
4 4
       <view class="page flex-v">
5 5
 
6 6
         <!-- 搜索 -->
@@ -93,6 +93,7 @@ export default {
93 93
     Init () {
94 94
       if (this.UserInfo !== null) {
95 95
         this.MenuList = []
96
+        this.HasNextPage = true
96 97
         this.GetArticleTypeList({ pageNum: 1, pageSize: 1000, status: 1 }).then((res) => {
97 98
           this.MenuList = res.data.data.records || []
98 99
           if (this.MenuList.length) {