@fox-js/foxui-pc 4.0.1-127 → 4.0.1-128

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/dist/index.esm.js CHANGED
@@ -5,7 +5,7 @@ import { ElAffix as lp, ElAlert as ap, ElAside as op, ElAutoResizer as rp, ElAut
5
5
  import { ArrowLeft as lo, ArrowUp as An, Download as ao, RefreshLeft as oo, Loading as As, Setting as Vs, CircleClose as Ms, Close as ro, ArrowRight as Ls } from "@element-plus/icons-vue";
6
6
  import { useFoxI18n as tt } from "@fox-js/i18n";
7
7
  /*!
8
- * @fox-js/foxui-desktop v4.0.0 Wed Aug 19 2026 23:50:18 GMT+0800 (China Standard Time)
8
+ * @fox-js/foxui-desktop v4.0.0 Thu Aug 20 2026 14:01:40 GMT+0800 (China Standard Time)
9
9
  */
10
10
  const mn = window, Rs = typeof window < "u";
11
11
  function _s() {
@@ -630,7 +630,8 @@ class ho {
630
630
  * 销毁
631
631
  */
632
632
  destroy() {
633
- this.parent !== null && this.parent.removeChild(this), this.persistantMessages.clear(), this.parent = null, this.proxy = null;
633
+ const t = [...this.children];
634
+ this.children = [], t.forEach((l) => l.destroy()), this.parent !== null && this.parent.removeChild(this), this.persistantMessages.clear(), this.callbacks.clear(), this.parent = null, this.proxy = null;
634
635
  }
635
636
  /**
636
637
  * 设置持久化消息
@@ -4421,7 +4422,7 @@ function $u(e, t, l, n = !1) {
4421
4422
  W || o.emit("disappear");
4422
4423
  }), v.observe(P.value));
4423
4424
  }, q = () => {
4424
- !v || !P.value || (v.unobserve(P.value), v = null);
4425
+ v && (P.value && v.unobserve(P.value), v.disconnect(), v = null);
4425
4426
  };
4426
4427
  fe(
4427
4428
  () => de(a.appearListen),