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