Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Mar 16, 2021
1 parent 1fccc02 commit 1caa913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 0 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ gulp.task('build_commonjs', function () {
gulp.task('build_umd', function () {
return gulp.src(['index.ts'])
.pipe(ts(tsconfig.compilerOptions))
.pipe(replace(`from 'xe-utils/ctor';`, `from 'xe-utils';`))
.pipe(replace(`from 'vxe-table/lib/vxe-table';`, `from 'vxe-table';`))
.pipe(babel({
moduleId: pack.name,
presets: ['@babel/env'],
Expand Down
10 changes: 1 addition & 9 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import { h, resolveComponent, ComponentOptions } from 'vue'
import XEUtils from 'xe-utils'
import {
VXETableCore,
VxeTableDefines,
VxeColumnPropTypes,
VxeGlobalRendererHandles,
VxeGlobalInterceptorHandles,
FormItemRenderOptions,
FormItemContentRenderParams
} from 'vxe-table/lib/vxe-table'
import { VXETableCore, VxeTableDefines, VxeColumnPropTypes, VxeGlobalRendererHandles, VxeGlobalInterceptorHandles, FormItemRenderOptions, FormItemContentRenderParams } from 'vxe-table'

function isEmptyValue (cellValue: any) {
return cellValue === null || cellValue === undefined || cellValue === ''
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table-plugin-antd",
"version": "3.0.0",
"version": "3.0.1",
"description": "基于 vxe-table 表格的适配插件,用于兼容 ant-design-vue 组件库",
"scripts": {
"lib": "gulp build"
Expand Down Expand Up @@ -49,7 +49,7 @@
"prettier": "^2.1.2",
"typescript": "^4.0.5",
"vue": "^3.0.6",
"vxe-table": "^4.0.1",
"vxe-table": "^4.0.3",
"xe-utils": "^3.1.11"
},
"peerDependencies": {
Expand Down

0 comments on commit 1caa913

Please sign in to comment.