@fox-js/foxui-pc 4.0.1-74 → 4.0.1-75

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 Cg, ElAlert as Ng, ElAside as Ig, ElAutoResizer as Ag, ElAut
5
5
  import { ArrowUp as an, Download as Do, RefreshLeft as Oo, Setting as Fo, Close as wr } from "@element-plus/icons-vue";
6
6
  import { useFoxI18n as Ze } from "@fox-js/i18n";
7
7
  /*!
8
- * @fox-js/foxui-desktop v4.0.0 Thu Sep 14 2023 22:39:47 GMT+0800 (中国标准时间)
8
+ * @fox-js/foxui-desktop v4.0.0 Fri Sep 15 2023 15:14:46 GMT+0800 (中国标准时间)
9
9
  */
10
10
  const Ht = window, qo = typeof window < "u";
11
11
  function Lo() {
@@ -7095,6 +7095,16 @@ function hc(e, t, l, n, r) {
7095
7095
  let a = [];
7096
7096
  Array.isArray(e) ? a = e : a = [e];
7097
7097
  const s = [], o = t[0];
7098
+ if (Array.isArray(e) && !Array.isArray(o) && !o[r]) {
7099
+ let i = t;
7100
+ for (let c = 0; i && c < a.length; c++) {
7101
+ let u = a[c], f = i.find((m) => m[n] === u);
7102
+ if (!f)
7103
+ break;
7104
+ s.push(f[l]);
7105
+ }
7106
+ return s;
7107
+ }
7098
7108
  if (Array.isArray(o))
7099
7109
  for (let i = 0; i < t.length && i < a.length; i++) {
7100
7110
  let c = t[i], u = a[i];