| | |
| | | computed: { |
| | | fontSize() { |
| | | this.transformDom(this.$store.state.qiankun.fontSize) |
| | | return this.$store.state.qiankun.fontSize ? this.$store.state.qiankun.fontSize : 18; |
| | | return this.$store.state.qiankun.fontSize ? this.$store.state.qiankun.fontSize : 16; |
| | | }, |
| | | pageZoom() { |
| | | return this.$store.state.qiankun.scale ? this.$store.state.qiankun.scale / 100 : 1; |
| | |
| | | // 默认加载章节 |
| | | this.showCatalogList = [1]; |
| | | // 滚动监听节流 |
| | | debugger |
| | | this.throttledScrollHandler = _.throttle( |
| | | this.scrollFun, |
| | | this.throttleThreshold, |
| | |
| | | event.target.scrollHeight - this.loadThreshold |
| | | ) { |
| | | console.log(1); |
| | | |
| | | debugger |
| | | // 到达阈值 |
| | | if ( |
| | | this.showCatalogList[this.showCatalogList.length - 1] < |