fix
This commit is contained in:
15
index.ts
15
index.ts
@@ -464,11 +464,24 @@ export const VXETablePluginExportXLSX = {
|
||||
globalExcelJS = options ? options.ExcelJS : null
|
||||
|
||||
vxetable.config({
|
||||
table: {
|
||||
importConfig: {
|
||||
_typeMaps: {
|
||||
xlsx: 1
|
||||
}
|
||||
} as any,
|
||||
exportConfig: {
|
||||
_typeMaps: {
|
||||
xlsx: 1
|
||||
}
|
||||
} as any
|
||||
},
|
||||
// 兼容老
|
||||
export: {
|
||||
types: {
|
||||
xlsx: 0
|
||||
}
|
||||
}
|
||||
} as any
|
||||
})
|
||||
vxetable.interceptor.mixin({
|
||||
'event.import': handleImportEvent,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vxe-table-plugin-export-xlsx",
|
||||
"version": "4.0.1",
|
||||
"version": "4.0.2",
|
||||
"description": "基于 vxe-table 表格的扩展插件,支持导出 xlsx 格式",
|
||||
"scripts": {
|
||||
"lib": "gulp build"
|
||||
@@ -51,7 +51,7 @@
|
||||
"sass": "^1.55.0",
|
||||
"typescript": "^4.6.4",
|
||||
"vue": "^3.4.23",
|
||||
"vxe-table": "^4.6.0"
|
||||
"vxe-table": "^4.6.17"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vxe-table": "^4.5.0"
|
||||
|
||||
Reference in New Issue
Block a user