mirror of
https://gitee.com/x-extends/vxe-table-plugin-export-xlsx.git
synced 2026-01-21 05:21:33 +08:00
update
This commit is contained in:
2
index.ts
2
index.ts
@@ -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) {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user