@utogether/utils 3.0.0-beta.40 → 3.0.0-beta.42

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/utils.es.js CHANGED
@@ -1030,7 +1030,7 @@ const VxetableRender = (VXETable, {
1030
1030
  });
1031
1031
  const useComponent = () => ({
1032
1032
  clear: (r, e, i, t, v) => {
1033
- if (r[e] = null, !isEmpty(i))
1033
+ if (r[e] = null, props != null && props.multiple && (r[`_${e}`] = []), !isEmpty(i))
1034
1034
  for (const Z in i)
1035
1035
  r[Z] = null;
1036
1036
  t != null && t.clear && t.clear({
@@ -1393,7 +1393,7 @@ const i18n = window.$i18n, useRender = () => {
1393
1393
  },
1394
1394
  {
1395
1395
  code: "utRecentYear",
1396
- content: i18n ? i18n("message.udp.anniversary") : "最近已年"
1396
+ content: i18n ? i18n("message.udp.anniversary") : "最近一年"
1397
1397
  }
1398
1398
  ]
1399
1399
  }
@@ -1605,7 +1605,7 @@ const deviceDetection = () => {
1605
1605
  events: null
1606
1606
  }
1607
1607
  }, formatGridItems = (a, l) => {
1608
- const o = a, h = o.length, r = h > 2 && o.some((Z, d) => d < 3 && (Z.span > 6 || getDateRange(Z))), e = r || h > 3, i = {
1608
+ const o = a.filter((Z) => Z.visible !== !1), h = o.length, r = h > 2 && o.some((Z, d) => d < 3 && (Z.span > 6 || getDateRange(Z))), e = r || h > 3, i = {
1609
1609
  collapseTags: !0,
1610
1610
  collapseTagsTooltip: !0,
1611
1611
  multiple: !0