This commit is contained in:
xuliangzhan
2024-03-30 13:04:23 +08:00
parent ce5f8bf839
commit c79239b0fd

View File

@@ -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')
}