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 7b72c17 commit 2bff20b
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 @@ -165,6 +165,8 @@ function defaultFilterMethod(_ref4) {
var data = option.data;

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


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

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


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

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


return cellValue === data;
}
Expand Down Expand Up @@ -390,8 +392,10 @@

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


return cellValue === data;
return cellValue == data;
}
},
ACascader: {
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 @@ -124,6 +124,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 @@ -305,7 +306,8 @@ const renderMap = {
}
return data.indexOf(cellValue) > -1
}
return cellValue === data
/* eslint-disable eqeqeq */
return cellValue == data
}
},
ACascader: {
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-antd",
"version": "1.3.2",
"version": "1.3.3",
"description": "vxe-table renderer plugins for ant-design-vue.",
"scripts": {
"lib": "gulp build"
Expand Down

0 comments on commit 2bff20b

Please sign in to comment.