This commit is contained in:
xuliangzhan
2023-04-20 22:40:02 +08:00
parent 56e3ad847e
commit c7f1106029
3 changed files with 10 additions and 3 deletions

View File

@@ -7,6 +7,10 @@
基于 [vxe-table](https://www.npmjs.com/package/vxe-table) 的表格插件,支持导出 xlsx 格式,基于 [exceljs](https://github.com/exceljs/exceljs) 实现
## Compatibility
对应 vxe-table v3 版本
## Installing
```shell

View File

@@ -17,6 +17,9 @@ const defaultCellBorderColor = 'e8eaec'
function getCellLabel (column: ColumnConfig, cellValue: any) {
if (cellValue) {
if (column.type === 'seq') {
return XEUtils.toValueString(cellValue)
}
switch (column.cellType) {
case 'string':
return XEUtils.toValueString(cellValue)

View File

@@ -47,10 +47,10 @@
"gulp-uglify": "^3.0.2",
"markdown-doctest": "^1.1.0",
"prettier": "^2.1.2",
"typescript": "^4.0.5",
"typescript": "^4.6.4",
"vue": "^2.6.14",
"vxe-table": "^3.4.4",
"xe-utils": "^3.4.0"
"vxe-table": "^3.6.13",
"xe-utils": "^3.5.7"
},
"peerDependencies": {
"vxe-table": "^2.10.0 || ^3.2.0"