From 82d4a8e0c1720a60c4c4a8d12f64965ae6572f5c Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Tue, 23 Mar 2021 23:18:17 +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 05edb9b..b1fca33 100644 --- a/index.ts +++ b/index.ts @@ -803,7 +803,7 @@ export const VXETablePluginAntd = { } } -if (typeof window !== 'undefined' && window.VXETable) { +if (typeof window !== 'undefined' && window.VXETable && window.VXETable.use) { window.VXETable.use(VXETablePluginAntd) } diff --git a/package.json b/package.json index ea4f878..f1ccb8f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vxe-table-plugin-antd", - "version": "1.11.1", + "version": "1.11.2", "description": "基于 vxe-table 表格的适配插件,用于兼容 ant-design-vue 组件库", "scripts": { "lib": "gulp build" @@ -49,7 +49,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": {