dfs-page-config 0.0.78 → 0.0.79

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.
@@ -21125,13 +21125,14 @@ function sY(r, a) {
21125
21125
  a.options = r[a.url];
21126
21126
  else {
21127
21127
  let l = a.method == "POST" ? "data" : "params";
21128
+ const c = typeof a.params == "function" ? a.params() : a.params;
21128
21129
  Cs({
21129
21130
  url: r._BASE_URL + a.url,
21130
- [l]: a.params || {},
21131
+ [l]: c || {},
21131
21132
  method: a.method || "GET"
21132
- }).then((c) => {
21133
- const d = c.items || c.list || c.detail || c;
21134
- a.options = d, a.noCache || (r[a.url] = d);
21133
+ }).then((d) => {
21134
+ const f = d.items || d.list || d.detail || d;
21135
+ a.options = f, a.noCache || (r[a.url] = f);
21135
21136
  });
21136
21137
  }
21137
21138
  }
@@ -23743,7 +23744,7 @@ const Aq = /* @__PURE__ */ SE(UO), Nq = _e({
23743
23744
  c.submit = v, c.reset = h, d.elementGroup = B(() => c.elementGroup.filter((b) => b.isShow === void 0 || typeof b.isShow == "function" && b.isShow(d.formData)));
23744
23745
  function f() {
23745
23746
  d.elementGroup.forEach((b) => {
23746
- (b.type === "Select" || b.type === "Cascader") && b.url && sY(a.state, b);
23747
+ (b.type === "Select" || b.type === "Cascader" || b.type === "radioGroup") && b.url && sY(a.state, b);
23747
23748
  });
23748
23749
  }
23749
23750
  function h() {
@@ -23921,14 +23922,15 @@ function Iq(r, a, l, c, d, f) {
23921
23922
  }, {
23922
23923
  default: de(() => [
23923
23924
  (I(!0), X(Ye, null, pt(M.options, (ee) => (I(), fe(_, {
23924
- key: ee.value,
23925
- label: ee.value
23925
+ key: ee[M.itemValue || "value"],
23926
+ label: ee[M.itemValue || "value"],
23927
+ style: dt(M.itemStyle)
23926
23928
  }, {
23927
23929
  default: de(() => [
23928
- Ut(He(ee.label), 1)
23930
+ Ut(He(ee[M.itemName || "label"]), 1)
23929
23931
  ]),
23930
23932
  _: 2
23931
- }, 1032, ["label"]))), 128))
23933
+ }, 1032, ["label", "style"]))), 128))
23932
23934
  ]),
23933
23935
  _: 2
23934
23936
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : ve("", !0),
@@ -24045,7 +24047,7 @@ function Iq(r, a, l, c, d, f) {
24045
24047
  _: 3
24046
24048
  }, 8, ["locale"]);
24047
24049
  }
24048
- const Mq = /* @__PURE__ */ co(Nq, [["render", Iq], ["__scopeId", "data-v-3cfda602"]]), Lq = _e({
24050
+ const Mq = /* @__PURE__ */ co(Nq, [["render", Iq], ["__scopeId", "data-v-aaf89811"]]), Lq = _e({
24049
24051
  props: {
24050
24052
  url: String,
24051
24053
  text: {