From 2f6b9ee24832c8f85b3f40a880c290bb9e10c8c9 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Wed, 26 Aug 2020 23:08:44 +0800 Subject: [PATCH] update --- gulpfile.js | 2 +- index.ts | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index c46d418..67f5526 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -59,7 +59,7 @@ gulp.task('build_umd', function () { target: 'es6', lib: ['dom', 'es6'] })) - .pipe(replace(`import XEUtils from 'xe-utils/methods/xe-utils';`, `import XEUtils from 'xe-utils';`)) + .pipe(replace(`import XEUtils from 'xe-utils/ctor';`, `import XEUtils from 'xe-utils';`)) .pipe(babel({ moduleId: pack.name, presets: ['@babel/env'], diff --git a/index.ts b/index.ts index 6ab8edb..7e9e2bb 100644 --- a/index.ts +++ b/index.ts @@ -1,6 +1,6 @@ /* eslint-disable no-unused-vars */ import { CreateElement } from 'vue' -import XEUtils from 'xe-utils/methods/xe-utils' +import XEUtils from 'xe-utils/ctor' import { VXETable, RenderParams, diff --git a/package.json b/package.json index 08b9a91..da8043d 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,8 @@ "prettier": "^1.18.2", "typescript": "^3.9.3", "vue": "^2.6.11", - "vxe-table": "^2.9.16", - "xe-utils": "^2.7.5" + "vxe-table": "^2.9.18", + "xe-utils": "^2.7.8" }, "peerDependencies": { "view-design": ">= 4.0.0",