Commit 76091705 by haojie

1

parent 7496a32b
......@@ -169,7 +169,9 @@ export default {
if (this.beginIndex === 0) this.colsHeightArr = [];
for (let i = 0; i < this.imgBoxEls.length; ++i) {
if (!this.imgBoxEls[i]) return;
height = this.imgBoxEls[i].offsetHeight;
// height = this.imgBoxEls[i].offsetHeight;
height = this.imgBoxEls[i].clientHeight;
console.log(this.imgBoxEls[i]);
console.log(height);
// 第一行
if (i < this.colNum) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment