@vtj/ui 0.13.30 → 0.13.32

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
@@ -9,10 +9,10 @@ import { VXETable as Lt, VxeTableFilterModule as bl, VxeTableEditModule as wl, V
9
9
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
10
10
  * @name @vtj/ui
11
11
  * @author CHC chenhuachun1549@dingtalk.com
12
- * @version 0.13.30
12
+ * @version 0.13.32
13
13
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
14
14
  */
15
- const n2 = "0.13.30", zl = {
15
+ const n2 = "0.13.32", zl = {
16
16
  default: 14,
17
17
  small: 12,
18
18
  large: 18
@@ -4978,7 +4978,7 @@ function j0(o = {}) {
4978
4978
  kl,
4979
4979
  Tl,
4980
4980
  Dl
4981
- ], e = Ge()?.appContext.app, { vxeConfig: r, vxePlugin: a } = jo(), l = Ca();
4981
+ ], e = Ge()?.appContext.app, { vxeConfig: r, vxePlugin: a } = jo(), l = Ca({ storageKey: "color-schema" });
4982
4982
  return e && !e.__installVxe && (Lt.use(N0), a && Lt.use(a), Lt.setConfig({
4983
4983
  ...r,
4984
4984
  ...o
@@ -5379,9 +5379,7 @@ function ou(o, t, n) {
5379
5379
  const { list: h = [], total: y = 0 } = await o.loader(a) || {};
5380
5380
  await Pe(), await i(h, p), await Pe(), a.total = y, await Pe(), n("loaded", h);
5381
5381
  }
5382
- }, u = (p) => {
5383
- a.page = o.page || 1, s(p);
5384
- }, d = (p, h) => {
5382
+ }, u = async (p) => (a.page = o.page || 1, await s(p), !0), d = (p, h) => {
5385
5383
  a.page = p, a.pageSize = h, t.value?.scrollTo(0, 0), s();
5386
5384
  }, f = (p) => {
5387
5385
  a.filters = p.filterList, r && s();
@@ -6460,7 +6458,7 @@ async function hu(o, t) {
6460
6458
  function vu(o, t, n, e, r) {
6461
6459
  const a = L([]), l = D(() => !e || !r ? {} : Fo(o.cascader).reduce((d, f) => (d[f] = kt(r, f), d), {}));
6462
6460
  re(
6463
- [l, () => o.options],
6461
+ [l, () => o.options, n],
6464
6462
  async ([u, d]) => {
6465
6463
  n.value && (a.value = await hu(o, u), e?.exposed?.reset && o.name);
6466
6464
  },