mirror of
https://gitee.com/x-extends/vxe-table-plugin-export-xlsx.git
synced 2026-01-21 05:21:33 +08:00
optimize
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
[](http://npm-stat.com/charts.html?package=vxe-table-plugin-export-xlsx)
|
||||
[](LICENSE)
|
||||
|
||||
基于 [vxe-table](https://www.npmjs.com/package/vxe-table) 的表格插件,支持导出 xlsx 格式,依赖 [exceljs](https://github.com/exceljs/exceljs) 库
|
||||
基于 [vxe-table](https://www.npmjs.com/package/vxe-table) 的表格插件,支持导出 xlsx 格式,基于 [exceljs](https://github.com/exceljs/exceljs) 实现
|
||||
|
||||
## Installing
|
||||
|
||||
|
||||
2
index.ts
2
index.ts
@@ -67,7 +67,7 @@ function getValidColumn (column: ColumnConfig): ColumnConfig {
|
||||
|
||||
function setExcelRowHeight (excelRow: ExcelJS.Row, height: number) {
|
||||
if (height) {
|
||||
excelRow.height = XEUtils.floor(height * 0.8, 1)
|
||||
excelRow.height = XEUtils.floor(height * 0.75, 12)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vxe-table-plugin-export-xlsx",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "基于 vxe-table 的表格插件,支持导出 xlsx 格式",
|
||||
"scripts": {
|
||||
"lib": "gulp build"
|
||||
|
||||
Reference in New Issue
Block a user