Skip to content

Commit 25ece23

Browse files
committed
update
1 parent caa8178 commit 25ece23

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

gulpfile.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ gulp.task('build_commonjs', function () {
4848
gulp.task('build_umd', function () {
4949
return gulp.src(['index.ts'])
5050
.pipe(ts(tsconfig.compilerOptions))
51-
.pipe(replace(`from 'xe-utils/ctor';`, `from 'xe-utils';`))
52-
.pipe(replace(`from 'vxe-table/lib/vxe-table';`, `from 'vxe-table';`))
5351
.pipe(babel({
5452
moduleId: pack.name,
5553
presets: ['@babel/env'],

index.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import { h, resolveComponent, ComponentOptions } from 'vue'
22
import XEUtils from 'xe-utils'
3-
import {
4-
VXETableCore,
5-
VxeTableDefines,
6-
VxeColumnPropTypes,
7-
VxeGlobalRendererHandles,
8-
VxeGlobalInterceptorHandles,
9-
FormItemRenderOptions,
10-
FormItemContentRenderParams
11-
} from 'vxe-table/lib/vxe-table'
3+
import { VXETableCore, VxeTableDefines, VxeColumnPropTypes, VxeGlobalRendererHandles, VxeGlobalInterceptorHandles, FormItemRenderOptions, FormItemContentRenderParams } from 'vxe-table'
124
import dayjs from 'dayjs'
135

146
function isEmptyValue (cellValue: any) {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vxe-table-plugin-element",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "基于 vxe-table 表格的适配插件,用于兼容 element-ui 组件库",
55
"scripts": {
66
"lib": "gulp build"
@@ -50,7 +50,7 @@
5050
"prettier": "^2.1.2",
5151
"typescript": "^4.0.5",
5252
"vue": "^3.0.6",
53-
"vxe-table": "^4.0.1",
53+
"vxe-table": "^4.0.3",
5454
"xe-utils": "^3.1.11"
5555
},
5656
"peerDependencies": {

0 commit comments

Comments
 (0)