Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Aug 29, 2019
1 parent e348666 commit 67dd07d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions dist/index.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports["default"] = exports.VXETablePluginIView = void 0;

var _xeUtils = _interopRequireDefault(require("xe-utils"));
var _xeUtils = _interopRequireDefault(require("xe-utils/methods/xe-utils"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

Expand Down Expand Up @@ -497,9 +497,9 @@ function handleClearEvent(params, evnt, context) {
}

var VXETablePluginIView = {
install: function install(_ref8) {
var interceptor = _ref8.interceptor,
renderer = _ref8.renderer;
install: function install(VXETable) {
var interceptor = VXETable.interceptor,
renderer = VXETable.renderer;
renderer.mixin(renderMap);
interceptor.add('event.clear_filter', handleClearEvent);
interceptor.add('event.clear_actived', handleClearEvent);
Expand Down
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,9 @@
}

var VXETablePluginIView = {
install: function install(_ref8) {
var interceptor = _ref8.interceptor,
renderer = _ref8.renderer;
install: function install(VXETable) {
var interceptor = VXETable.interceptor,
renderer = VXETable.renderer;
renderer.mixin(renderMap);
interceptor.add('event.clear_filter', handleClearEvent);
interceptor.add('event.clear_actived', handleClearEvent);
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ gulp.task('build_commonjs', function () {

gulp.task('build_umd', function () {
return gulp.src('index.js')
.pipe(replace(`from 'xe-utils/methods/xe-utils'`, `from 'xe-utils'`))
.pipe(babel({
moduleId: pack.name,
presets: ['@babel/env'],
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import XEUtils from 'xe-utils'
import XEUtils from 'xe-utils/methods/xe-utils'

function getFormatDate (value, props, defaultFormat) {
return XEUtils.toDateString(value, props.format || defaultFormat)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vxe-table-plugin-iview",
"version": "1.4.1",
"version": "1.4.2",
"description": "vxe-table renderer plugin for iview.",
"scripts": {
"lib": "gulp build"
Expand Down

0 comments on commit 67dd07d

Please sign in to comment.