dfs-page-config 0.0.93 → 0.0.94

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.
@@ -21220,16 +21220,17 @@ const fY = (r) => {
21220
21220
  if (a.dependencies && (f = ir(r, l, a.dependencies), d = fY(f)), a.formData = d, a.searchBefore && a.searchBefore(a, c) === !1)
21221
21221
  return;
21222
21222
  const h = vY(a, f);
21223
- a.formData = { ...d, ...h }, console.log(r);
21223
+ a.formData = { ...d, ...h };
21224
21224
  const v = gY(a);
21225
21225
  let g = a.method == "GET" ? "params" : "data";
21226
- ws({
21226
+ r.state.baseState.loading = !0, ws({
21227
21227
  url: r.state._BASE_URL + a.url,
21228
21228
  [g]: v || {},
21229
21229
  method: a.method || "POST"
21230
21230
  }).then((y) => {
21231
21231
  y = mY(y, a), a.searchAfter && a.searchAfter(y), r.commit("updateRowData", { tableComp: a, res: y });
21232
21232
  }).finally(() => {
21233
+ r.state.baseState.loading = !1;
21233
21234
  });
21234
21235
  }
21235
21236
  }
@@ -23809,6 +23810,7 @@ const Lq = /* @__PURE__ */ RE(UO), xq = _e({
23809
23810
  return !0;
23810
23811
  }
23811
23812
  function y(b) {
23813
+ a.commit("setLoading", !0);
23812
23814
  let _ = c.method == "GET" ? "params" : "data";
23813
23815
  ws({
23814
23816
  url: a.state._BASE_URL + c.url,
@@ -23819,6 +23821,7 @@ const Lq = /* @__PURE__ */ RE(UO), xq = _e({
23819
23821
  }).catch((R) => {
23820
23822
  console.log(R);
23821
23823
  }).finally(() => {
23824
+ a.commit("setLoading", !1);
23822
23825
  });
23823
23826
  }
23824
23827
  function E() {
@@ -24080,7 +24083,7 @@ function Vq(r, a, l, c, d, f) {
24080
24083
  _: 3
24081
24084
  }, 8, ["locale"]);
24082
24085
  }
24083
- const Hq = /* @__PURE__ */ co(xq, [["render", Vq], ["__scopeId", "data-v-d5d4b4b3"]]), kq = _e({
24086
+ const Hq = /* @__PURE__ */ co(xq, [["render", Vq], ["__scopeId", "data-v-ac3462cb"]]), kq = _e({
24084
24087
  props: {
24085
24088
  url: String,
24086
24089
  text: {
@@ -24279,7 +24282,7 @@ const zO = /* @__PURE__ */ co(kq, [["render", Bq]]), $q = _e({
24279
24282
  }
24280
24283
  function b(_) {
24281
24284
  ir(a, r.pageKey, _.target).submit((S) => {
24282
- console.log(S), E(_.target), rr.success("操作成功"), _.queryTarget && f(_.queryTarget);
24285
+ E(_.target), rr.success("操作成功"), _.queryTarget && f(_.queryTarget);
24283
24286
  });
24284
24287
  }
24285
24288
  return {
@@ -24372,7 +24375,7 @@ function zq(r, a, l, c, d, f) {
24372
24375
  Be(r.$slots, "default", {}, void 0, !0)
24373
24376
  ], 4);
24374
24377
  }
24375
- const Kq = /* @__PURE__ */ co($q, [["render", zq], ["__scopeId", "data-v-d9742507"]]), Yq = _e({
24378
+ const Kq = /* @__PURE__ */ co($q, [["render", zq], ["__scopeId", "data-v-48ffa9f2"]]), Yq = _e({
24376
24379
  props: {
24377
24380
  gridApi: {
24378
24381
  type: Object,
@@ -56866,7 +56869,7 @@ const MX = /* @__PURE__ */ co(FX, [["render", IX]]), LX = (r) => {
56866
56869
  r.component(l.name, l);
56867
56870
  });
56868
56871
  }, VX = (r, a) => {
56869
- ["state", "getters", "_actions"].forEach((c) => {
56872
+ ["_actions"].forEach((c) => {
56870
56873
  Object.keys(rs[c]).forEach((d) => {
56871
56874
  a.store[c][d] = rs[c][d];
56872
56875
  });