From b99eb1a9e85430b5a1d3b904f33ad85779f5b16f Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Tue, 23 Mar 2021 23:18:56 +0800 Subject: [PATCH] update --- index.ts | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 7631e65..ca66ee7 100644 --- a/index.ts +++ b/index.ts @@ -200,7 +200,7 @@ export const VXETablePluginExportPDF = { } } -if (isWin && window.VXETable) { +if (isWin && window.VXETable && window.VXETable.use) { window.VXETable.use(VXETablePluginExportPDF) } diff --git a/package.json b/package.json index 3b96786..c148b48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vxe-table-plugin-export-pdf", - "version": "1.9.1", + "version": "1.9.2", "description": "基于 vxe-table 的表格插件,支持导出 pdf 格式", "scripts": { "lib": "gulp build" @@ -51,7 +51,7 @@ "prettier": "^2.1.2", "typescript": "^4.0.5", "vue": "^2.6.12", - "vxe-table": "^2.10.0", + "vxe-table": "^3.2.4", "xe-utils": "^3.1.11" }, "peerDependencies": {