@lemon-fe/components 0.1.134 → 0.1.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,7 +61,7 @@ export default function SiderTree(props) {
61
61
  var list = mData;
62
62
  if (keywords) {
63
63
  list = list.filter(function (item) {
64
- return item.title.toString().includes(keywords);
64
+ return new RegExp(keywords, 'i').test(item.title.toString());
65
65
  });
66
66
  }
67
67
  var map = new Map(list.map(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lemon-fe/components",
3
- "version": "0.1.134",
3
+ "version": "0.1.135",
4
4
  "description": "> TODO: description",
5
5
  "author": "鲁盛杰 <lusj@cnlemon.net>",
6
6
  "homepage": "",