g-ui-web 0.10.1 → 0.10.3
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 +13 -6
- package/lib/g-ui-web.js.gz +0 -0
- package/lib/g-ui-web.umd.cjs +2 -2
- package/package.json +1 -1
package/lib/g-ui-web.js
CHANGED
|
@@ -48075,9 +48075,10 @@ function cL(e, t) {
|
|
|
48075
48075
|
t.errorCallback && t.errorCallback(r.message, r.status);
|
|
48076
48076
|
}
|
|
48077
48077
|
async function Q$e(e, t) {
|
|
48078
|
+
var r;
|
|
48078
48079
|
e.isLoading && Y$e(e.loadingConfig);
|
|
48079
48080
|
try {
|
|
48080
|
-
const
|
|
48081
|
+
const n = {
|
|
48081
48082
|
url: Z$e(e),
|
|
48082
48083
|
method: e.method || "get",
|
|
48083
48084
|
headers: {
|
|
@@ -48090,10 +48091,10 @@ async function Q$e(e, t) {
|
|
|
48090
48091
|
timeout: e.timeout || 1e4,
|
|
48091
48092
|
withCredentials: e.withCredentials || !1,
|
|
48092
48093
|
responseType: e.ResponseType ? e.ResponseType : "json"
|
|
48093
|
-
},
|
|
48094
|
-
|
|
48095
|
-
} catch (
|
|
48096
|
-
|
|
48094
|
+
}, a = await Ua(n);
|
|
48095
|
+
a.status == 200 ? J$e(a, e, t) : cL(a, t);
|
|
48096
|
+
} catch (n) {
|
|
48097
|
+
n.message.indexOf("timeout") != -1 ? al.error("网络超时") : n.message == "Network Error" ? al.error("网络连接错误") : n && (n != null && n.response) && ((r = n.response) != null && r.data) ? al.error(n.response.statusText) : cL(n, t);
|
|
48097
48098
|
} finally {
|
|
48098
48099
|
q$e(), t.loadingSwitch && t.loadingSwitch(!1), t.complete && t.complete(e.url);
|
|
48099
48100
|
}
|
|
@@ -48138,7 +48139,7 @@ const fL = (e) => Array.isArray(e) ? "数组" : typeof e == "object" && e !== nu
|
|
|
48138
48139
|
data: t ? null : e.params,
|
|
48139
48140
|
params: t ? e.params : null,
|
|
48140
48141
|
ContentType: e.ContentType,
|
|
48141
|
-
resultFilter:
|
|
48142
|
+
// resultFilter: props.transformResponse,
|
|
48142
48143
|
headers: {
|
|
48143
48144
|
// 'gt-token': store.state['gui-baseConfig'].token,
|
|
48144
48145
|
// 'sysCode': store.state['gui-baseConfig'].sysCode,
|
|
@@ -93995,6 +93996,12 @@ const Qit = (e, t) => {
|
|
|
93995
93996
|
show: !1
|
|
93996
93997
|
}
|
|
93997
93998
|
}), r.push({
|
|
93999
|
+
axisTick: {
|
|
94000
|
+
show: !1
|
|
94001
|
+
},
|
|
94002
|
+
axisLine: {
|
|
94003
|
+
show: !1
|
|
94004
|
+
},
|
|
93998
94005
|
splitLine: { lineStyle: { type: "dashed" } }
|
|
93999
94006
|
});
|
|
94000
94007
|
return {
|
package/lib/g-ui-web.js.gz
CHANGED
|
Binary file
|