bkui-vue 2.0.1-beta.46 → 2.0.1-beta.47

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.
package/lib/index.js CHANGED
@@ -4,5 +4,5 @@ export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
6
  export * as plugins from './plugins';
7
- export const version = "2.0.1-beta.46";
7
+ export const version = "2.0.1-beta.47";
8
8
  window.__bkui_vue_version__ = version;
package/lib/tree/index.js CHANGED
@@ -19917,9 +19917,11 @@ var use_tree_init_this = undefined;
19917
19917
  var filterFn = function filterFn(item) {
19918
19918
  if (isSearchActive.value) {
19919
19919
  if (showChildNodes) {
19920
+ var _getNodePath;
19921
+ var itemPath = (_getNodePath = getNodePath(item)) !== null && _getNodePath !== void 0 ? _getNodePath : '';
19922
+ var asParentPath = "".concat(itemPath, "-");
19920
19923
  return checkNodeIsOpen(item) && (isNodeMatched(item) || matchedNodePath.some(function (path) {
19921
- var _getNodePath;
19922
- return ((_getNodePath = getNodePath(item)) !== null && _getNodePath !== void 0 ? _getNodePath : '').indexOf(path) === 0;
19924
+ return asParentPath.indexOf("".concat(path, "-")) === 0;
19923
19925
  }));
19924
19926
  }
19925
19927
  return checkNodeIsOpen(item) && isNodeMatched(item);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.46",
3
+ "version": "2.0.1-beta.47",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",