fix: 修复 excel 渲染时合并单元格垂直方向不正确问题 Closes #9936 (#9964)

This commit is contained in:
吴多益 2024-04-03 12:59:55 +08:00 committed by GitHub
parent 671cfcc06d
commit 39dde3f829
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -62,7 +62,7 @@
"moment": "^2.19.4",
"moment-timezone": "^0.5.34",
"mpegts.js": "^1.6.10",
"office-viewer": "^0.3.8",
"office-viewer": "^0.3.9",
"prop-types": "^15.6.1",
"qrcode.react": "^3.1.0",
"react-cropper": "^2.1.8",
@ -244,4 +244,4 @@
"react-dom": ">=16.8.6"
},
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
}
}

View File

@ -1,6 +1,6 @@
{
"name": "office-viewer",
"version": "0.3.8",
"version": "0.3.9",
"description": "office 文档在线预览",
"main": "lib/index.js",
"module": "esm/index.js",

View File

@ -137,7 +137,7 @@ export function getViewPointData(
yOffset += getRowHeight(i);
}
y == yOffset;
y -= yOffset;
const value = getSheetRowData(startRow)[startCol];