Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xuliangzhan committed Aug 9, 2019
1 parent 2504069 commit 90dd381
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
6 changes: 5 additions & 1 deletion dist/index.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ function defaultFilterMethod(_ref3) {
var data = option.data;

var cellValue = _xeUtils["default"].get(row, column.property);
/* eslint-disable eqeqeq */


return cellValue === data;
}
Expand Down Expand Up @@ -349,8 +351,10 @@ var renderMap = {

return data.indexOf(cellValue) > -1;
}
/* eslint-disable eqeqeq */


return cellValue === data;
return cellValue == data;
}
},
Cascader: {
Expand Down
6 changes: 5 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@
var data = option.data;

var cellValue = _xeUtils["default"].get(row, column.property);
/* eslint-disable eqeqeq */


return cellValue === data;
}
Expand Down Expand Up @@ -361,8 +363,10 @@

return data.indexOf(cellValue) > -1;
}
/* eslint-disable eqeqeq */


return cellValue === data;
return cellValue == data;
}
},
Cascader: {
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.

4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ function handleConfirmFilter (context, column, checked, item) {
function defaultFilterMethod ({ option, row, column }) {
let { data } = option
let cellValue = XEUtils.get(row, column.property)
/* eslint-disable eqeqeq */
return cellValue === data
}

Expand Down Expand Up @@ -280,7 +281,8 @@ const renderMap = {
}
return data.indexOf(cellValue) > -1
}
return cellValue === data
/* eslint-disable eqeqeq */
return cellValue == data
}
},
Cascader: {
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.3.2",
"version": "1.3.3",
"description": "vxe-table renderer plugins for iview.",
"scripts": {
"lib": "gulp build"
Expand Down

0 comments on commit 90dd381

Please sign in to comment.