vxe-table 4.7.62 → 4.7.63
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/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/src/util.js +4 -3
- package/es/ui/index.js +2 -2
- package/es/ui/src/log.js +1 -1
- package/lib/index.umd.js +7 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/src/util.js +4 -3
- package/lib/table/src/util.min.js +1 -1
- package/lib/ui/index.js +2 -2
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/package.json +2 -2
- package/packages/table/src/util.ts +4 -3
- /package/es/{iconfont.1723041277531.ttf → iconfont.1723112033726.ttf} +0 -0
- /package/es/{iconfont.1723041277531.woff → iconfont.1723112033726.woff} +0 -0
- /package/es/{iconfont.1723041277531.woff2 → iconfont.1723112033726.woff2} +0 -0
- /package/lib/{iconfont.1723041277531.ttf → iconfont.1723112033726.ttf} +0 -0
- /package/lib/{iconfont.1723041277531.woff → iconfont.1723112033726.woff} +0 -0
- /package/lib/{iconfont.1723041277531.woff2 → iconfont.1723112033726.woff2} +0 -0
|
@@ -403,7 +403,7 @@ export function rowToVisible ($xeTable: VxeTableConstructor & VxeTablePrivateMet
|
|
|
403
403
|
} else {
|
|
404
404
|
// 如果是虚拟渲染跨行滚动
|
|
405
405
|
if (scrollYLoad) {
|
|
406
|
-
return $xeTable.scrollTo(null, (
|
|
406
|
+
return $xeTable.scrollTo(null, ($xeTable.findRowIndexOf(afterFullData, row) - 1) * scrollYStore.rowHeight)
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
409
|
}
|
|
@@ -438,10 +438,11 @@ export function colToVisible ($xeTable: VxeTableConstructor & VxeTablePrivateMet
|
|
|
438
438
|
if (scrollXLoad) {
|
|
439
439
|
let scrollLeft = 0
|
|
440
440
|
for (let index = 0; index < visibleColumn.length; index++) {
|
|
441
|
-
|
|
441
|
+
const currCol = visibleColumn[index]
|
|
442
|
+
if (currCol === column || currCol.id === column.id) {
|
|
442
443
|
break
|
|
443
444
|
}
|
|
444
|
-
scrollLeft +=
|
|
445
|
+
scrollLeft += currCol.renderWidth
|
|
445
446
|
}
|
|
446
447
|
return $xeTable.scrollTo(scrollLeft)
|
|
447
448
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|