@vtj/ui 0.8.127 → 0.8.129

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.mjs CHANGED
@@ -8,10 +8,10 @@ import { useRouter as Cd, RouterView as Db, useRoute as $h, routeLocationKey as
8
8
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
9
9
  * @name @vtj/ui
10
10
  * @author CHC chenhuachun1549@dingtalk.com
11
- * @version 0.8.127
11
+ * @version 0.8.129
12
12
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
13
13
  */
14
- const AI = "0.8.127", _b = {
14
+ const AI = "0.8.129", _b = {
15
15
  default: 14,
16
16
  small: 12,
17
17
  large: 18
@@ -23769,7 +23769,7 @@ const O7 = {
23769
23769
  type: String
23770
23770
  },
23771
23771
  /**
23772
- * 单选模式,回车时自动检测取回有且计有唯一数据
23772
+ * 回车时自动检测取回有且计有唯一数据
23773
23773
  */
23774
23774
  preload: {
23775
23775
  type: Boolean
@@ -23859,7 +23859,7 @@ function M7(e, t) {
23859
23859
  ), tt(s, (g, C) => {
23860
23860
  if (!ic(g, C)) {
23861
23861
  const v = o ? m(g) : g, y = a ? a(v) : v;
23862
- n && Array.isArray(y) && (u.value = u.value.filter((D) => y.includes(D.value))), t("update:modelValue", y), t("change", y, e.data);
23862
+ n && Array.isArray(v) && (u.value = u.value.filter((D) => v.includes(D.value))), t("update:modelValue", y), t("change", y, e.data);
23863
23863
  }
23864
23864
  }), {
23865
23865
  current: s,
@@ -23918,7 +23918,7 @@ const Y0 = /* @__PURE__ */ nt({
23918
23918
  }, S = async (M) => {
23919
23919
  if (o.disabled) return;
23920
23920
  const A = M.target.value;
23921
- if (o.queryKey && (g.value[o.queryKey] = A), D(), o.beforeInit && await o.beforeInit(), !o.multiple && o.preload) {
23921
+ if (o.queryKey && (g.value[o.queryKey] = A), D(), o.beforeInit && await o.beforeInit(), o.preload) {
23922
23922
  const $ = await y({});
23923
23923
  $?.list && $.list.length === 1 ? (w(), E($.list[0])) : i.value = !0;
23924
23924
  } else