|
@@ -32,11 +32,11 @@
|
|
import readPage from '../../components/read/readPage.vue'
|
|
import readPage from '../../components/read/readPage.vue'
|
|
import settingMenu from '../../components/read/settingMenu.vue'
|
|
import settingMenu from '../../components/read/settingMenu.vue'
|
|
import chapterCatalog from '../../components/read/chapterCatalog.vue'
|
|
import chapterCatalog from '../../components/read/chapterCatalog.vue'
|
|
- import {onPullDownRefresh,onReachBottom} from '@dcloudio/uni-app'
|
|
|
|
|
|
+ // import {onPullDownRefresh,onReachBottom} from '@dcloudio/uni-app'
|
|
import { ReadSetting } from '../../stores/readSetting';
|
|
import { ReadSetting } from '../../stores/readSetting';
|
|
import { config } from '../../config/config';
|
|
import { config } from '../../config/config';
|
|
import { ReadRecord } from '../../stores/readRecordManager';
|
|
import { ReadRecord } from '../../stores/readRecordManager';
|
|
- import recharge from '../../components/read/recharge.vue';
|
|
|
|
|
|
+ // import recharge from '../../components/read/recharge.vue';
|
|
import { http } from '../../framework/http';
|
|
import { http } from '../../framework/http';
|
|
import { UserData } from '../../stores/userDataManager';
|
|
import { UserData } from '../../stores/userDataManager';
|
|
|
|
|
|
@@ -189,9 +189,12 @@
|
|
|
|
|
|
function UnLockChapter(){
|
|
function UnLockChapter(){
|
|
showRecharge.value = false
|
|
showRecharge.value = false
|
|
- readPages.value.find((child,index)=>{
|
|
|
|
- child.UnLockChapter()
|
|
|
|
- })
|
|
|
|
|
|
+ if(readPages.value!=null){
|
|
|
|
+ readPages.value.find((child,index)=>{
|
|
|
|
+ child.UnLockChapter()
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
function showBottomLoadingStatus(){
|
|
function showBottomLoadingStatus(){
|