This commit is contained in:
xuliangzhan
2020-12-21 19:31:24 +08:00
parent d02d5054f5
commit b5020c7b3e
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ function exportXLSX (params: InterceptorExportParams) {
columns.forEach((column) => {
colHead[column.id] = original ? column.property : column.getTitle()
sheetCols.push({
wpx: XEUtils.toInteger(column.renderWidth * 0.8)
wpx: XEUtils.toInteger(column.renderWidth * 0.75)
})
})
if (isColgroup && !original && colgroups) {

View File

@@ -1,6 +1,6 @@
{
"name": "vxe-table-plugin-export-xlsx",
"version": "2.0.6",
"version": "2.0.7",
"description": "基于 vxe-table 的表格插件,支持导出 xlsx 格式",
"scripts": {
"lib": "gulp build"
@@ -49,7 +49,7 @@
"typescript": "^4.0.5",
"vue": "^2.6.12",
"vxe-table": "^2.10.0",
"xe-utils": "^3.0.1",
"xe-utils": "^3.0.4",
"xlsx": "^0.16.7"
},
"peerDependencies": {