element-assits 0.0.95 → 0.0.96

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1639,9 +1639,8 @@ const fe = (r = 16) => {
1639
1639
  return i;
1640
1640
  }, yt = (r, t, i = "children", a = []) => {
1641
1641
  for (let o = 0; o < r.length; o++)
1642
- if (t && t(r[o], a) === !1 || r[o][i] && r[o][i].length && (a.push(r[o]), yt(r[o][i], t, i, a) === !1))
1642
+ if (t && t(r[o], a) === !1 || r[o][i] && r[o][i].length && yt(r[o][i], t, i, [...a, r[o]]) === !1)
1643
1643
  return !1;
1644
- a.pop();
1645
1644
  }, Px = (r, t, i = "children") => {
1646
1645
  const a = [{ [i]: r, __root: !0 }];
1647
1646
  return yt(a, (o, d) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",