Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Jun 17, 2019
1 parent 2ed219c commit acbdabd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions dist/index.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function getEvents(editRender, params) {
});

if (events) {
Object.assign(on, _xeUtils["default"].objectMap(events, function (cb) {
_xeUtils["default"].assign(on, _xeUtils["default"].objectMap(events, function (cb) {
return function () {
cb.apply(null, [params].concat.apply(params, arguments));
};
Expand All @@ -61,7 +61,7 @@ function defaultRender(h, editRender, params) {
var props = editRender.props;

if ($table.size) {
props = Object.assign({
props = _xeUtils["default"].assign({
size: $table.size
}, props);
}
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
});

if (events) {
Object.assign(on, _xeUtils["default"].objectMap(events, function (cb) {
_xeUtils["default"].assign(on, _xeUtils["default"].objectMap(events, function (cb) {
return function () {
cb.apply(null, [params].concat.apply(params, arguments));
};
Expand All @@ -73,7 +73,7 @@
var props = editRender.props;

if ($table.size) {
props = Object.assign({
props = _xeUtils["default"].assign({
size: $table.size
}, props);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export interface VXETablePluginElementOptions {
export interface VXETablePluginIViewOptions {

}

/**
* vxe-table renderer plugins for element-ui.
* vxe-table renderer plugins for iview.
*/
declare var VXETablePluginElement: VXETablePluginElementOptions;
declare var VXETablePluginIView: VXETablePluginIViewOptions;

export default VXETablePluginElement;
export default VXETablePluginIView;
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getEvents (editRender, params) {
[type]: () => $table.updateStatus(params)
}
if (events) {
Object.assign(on, XEUtils.objectMap(events, cb => function () {
XEUtils.assign(on, XEUtils.objectMap(events, cb => function () {
cb.apply(null, [params].concat.apply(params, arguments))
}))
}
Expand All @@ -39,7 +39,7 @@ function defaultRender (h, editRender, params) {
let { $table, row, column } = params
let { props } = editRender
if ($table.size) {
props = Object.assign({ size: $table.size }, props)
props = XEUtils.assign({ size: $table.size }, props)
}
return [
h(editRender.name, {
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.0.0",
"version": "1.0.1",
"description": "vxe-table renderer plugins for iview.",
"scripts": {
"lib": "gulp build"
Expand Down

0 comments on commit acbdabd

Please sign in to comment.