From 578f908b7c3d64064f9940fab6127bd2999adaf5 Mon Sep 17 00:00:00 2001 From: xuliangzhan Date: Sun, 30 Aug 2020 16:14:49 +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 5c5e6f0..bcbe267 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -40,7 +40,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: [ diff --git a/index.ts b/index.ts index 9574be3..c0a92fc 100644 --- a/index.ts +++ b/index.ts @@ -1,5 +1,5 @@ /* eslint-disable no-unused-vars */ -import XEUtils from 'xe-utils/methods/xe-utils' +import XEUtils from 'xe-utils/ctor' import { VXETable, Table, diff --git a/package.json b/package.json index ca14d53..33d1e75 100644 --- a/package.json +++ b/package.json @@ -48,8 +48,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", "xlsx": "^0.16.5" }, "peerDependencies": {