mirror of
https://gitee.com/x-extends/vxe-table-plugin-export-xlsx.git
synced 2026-01-21 05:21:33 +08:00
fix
This commit is contained in:
2
index.ts
2
index.ts
@@ -456,7 +456,7 @@ export const VXETablePluginExportXLSX = {
|
||||
ExcelJS?: any
|
||||
}) {
|
||||
// 检查版本
|
||||
if (!/^(4)\./.test(vxetable.version)) {
|
||||
if (!/^(4)\./.test(vxetable.version) && !/v4/i.test((vxetable as any).v)) {
|
||||
console.error('[vxe-table-plugin-export-pdf 4.x] Version vxe-table 4.x is required')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user