g-ui-web 0.10.20 → 0.10.21
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/lib/g-ui-web.js +14 -14
- package/lib/g-ui-web.js.gz +0 -0
- package/lib/g-ui-web.umd.cjs +2 -2
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/package.json +1 -1
package/lib/g-ui-web.js
CHANGED
|
@@ -48209,20 +48209,20 @@ function dL(e, t = {}) {
|
|
|
48209
48209
|
}
|
|
48210
48210
|
const fL = (e) => Array.isArray(e) ? "数组" : typeof e == "object" && e !== null ? "对象" : typeof e == "string" ? "字符串" : "其他类型", r$e = {
|
|
48211
48211
|
getList(e) {
|
|
48212
|
-
var t;
|
|
48212
|
+
var t, r, n, a;
|
|
48213
48213
|
if (fL(e) == "对象") {
|
|
48214
|
-
const
|
|
48214
|
+
const o = !e.method || e.method.toLowerCase() == "get" || e.method.toLowerCase() == "GET" || e.method.toLowerCase() == "delete" || e.method.toLowerCase() == "DELETE";
|
|
48215
48215
|
return dL({
|
|
48216
48216
|
url: e.path,
|
|
48217
48217
|
method: e.method,
|
|
48218
|
-
data:
|
|
48219
|
-
params:
|
|
48218
|
+
data: o ? null : e.params,
|
|
48219
|
+
params: o ? e.params : null,
|
|
48220
48220
|
ContentType: e.ContentType,
|
|
48221
48221
|
// resultFilter: props.resultFilter,
|
|
48222
48222
|
headers: {
|
|
48223
|
-
[(t = mo.state["gui-ajax-config"]) == null ? void 0 : t.tokenName]: mo.state["gui-ajax-config"].token || "",
|
|
48224
|
-
sysCode: mo.state["gui-ajax-config"].sysCode || "",
|
|
48225
|
-
appType: mo.state["gui-ajax-config"].appType || "",
|
|
48223
|
+
[(t = mo.state["gui-ajax-config"]) == null ? void 0 : t.tokenName]: ((r = mo.state["gui-ajax-config"]) == null ? void 0 : r.token) || "",
|
|
48224
|
+
sysCode: ((n = mo.state["gui-ajax-config"]) == null ? void 0 : n.sysCode) || "",
|
|
48225
|
+
appType: ((a = mo.state["gui-ajax-config"]) == null ? void 0 : a.appType) || "",
|
|
48226
48226
|
...e.headers
|
|
48227
48227
|
},
|
|
48228
48228
|
isLoading: !1
|
|
@@ -96462,13 +96462,13 @@ const Clt = /* @__PURE__ */ _l(wlt), xlt = ["id"], Slt = /* @__PURE__ */ H({
|
|
|
96462
96462
|
setup(e, { expose: t, emit: r }) {
|
|
96463
96463
|
var C;
|
|
96464
96464
|
vc((x) => ({
|
|
96465
|
-
"
|
|
96466
|
-
"
|
|
96467
|
-
|
|
96468
|
-
|
|
96469
|
-
"
|
|
96470
|
-
|
|
96471
|
-
"
|
|
96465
|
+
"1c012480": l.value,
|
|
96466
|
+
"0db6459e": h.value,
|
|
96467
|
+
"28d6c35c": s.value,
|
|
96468
|
+
68707131: v.value,
|
|
96469
|
+
"4f93695e": f.value,
|
|
96470
|
+
19976590: c.value,
|
|
96471
|
+
"534bf652": d.value
|
|
96472
96472
|
}));
|
|
96473
96473
|
const n = Jn(), a = z(null), o = e, i = O(() => {
|
|
96474
96474
|
if (o.bg)
|
package/lib/g-ui-web.js.gz
CHANGED
|
Binary file
|