Skip to content

Commit

Permalink
修复Table自动计算高度 分页不存在问题 #59
Browse files Browse the repository at this point in the history
  • Loading branch information
yidalh committed Sep 22, 2020
1 parent 778bdb3 commit ebb6ffd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/app.js": "/app.js?id=73eae0e8c76521361e10",
"/app.js": "/app.js?id=cac522b00977fe684e6c",
"/manifest.js": "/manifest.js?id=8991394a854ee5cdffc3",
"/vendor.js": "/vendor.js?id=df0be4950fcb717193ba"
}
3 changes: 2 additions & 1 deletion resources/js/components/grid/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,8 @@ export default {
this.toolbarsViewHeight = this.$refs.toolbarsView.offsetHeight;
this.pageViewHeight = this.$refs.pageView.offsetHeight;
this.pageViewHeight = this.$refs.pageView?this.$refs.pageView.offsetHeight:0;
this.bottomComponentViewHeight = this.$refs.bottomComponentView.offsetHeight;
});
},
Expand Down

0 comments on commit ebb6ffd

Please sign in to comment.