askbot-dragon 1.5.70-beta → 1.5.71-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.5.70-beta",
3
+ "version": "1.5.71-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -910,8 +910,10 @@ export default {
910
910
  page_width = page_width - cutWidth;
911
911
 
912
912
  //获取页面最大高度
913
+ let height = parseInt(this.totalPageCount * this.pageSize.height)
914
+ var page_height = Math.max(document.getElementById('pdf_container_view').scrollHeight,height);
913
915
 
914
- var page_height = document.getElementById('pdf_container_view').scrollHeight;
916
+ console.debug('page_height',page_height,this.totalPageCount * this.pageSize.height);
915
917
 
916
918
  // var page_height = document.body.scrollHeight+document.body.scrollTop;
917
919