matrix_components 2.0.350 → 2.0.352
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.
|
@@ -76550,7 +76550,7 @@ function createAxiosInstance(customConfig = {}, errorCallback) {
|
|
|
76550
76550
|
} catch (error) {
|
|
76551
76551
|
console.error("请求的ID生成失败:", error);
|
|
76552
76552
|
}
|
|
76553
|
-
const tokenName = ((_b = (_a3 = app$1 == null ? void 0 : app$1.config) == null ? void 0 : _a3.globalProperties) == null ? void 0 : _b.$TokenName) || ((_d = (_c2 = app$1 == null ? void 0 : app$1.config) == null ? void 0 : _c2.globalProperties) == null ? void 0 : _d.$TonkenKey) || localStorage.getItem("TokenName") || localStorage.getItem("tokenName") || sessionStorage.getItem("TokenName") || sessionStorage.getItem("tokenName") || globalThis.TokenName || globalThis.tokenName ||
|
|
76553
|
+
const tokenName = ((_b = (_a3 = app$1 == null ? void 0 : app$1.config) == null ? void 0 : _a3.globalProperties) == null ? void 0 : _b.$TokenName) || ((_d = (_c2 = app$1 == null ? void 0 : app$1.config) == null ? void 0 : _c2.globalProperties) == null ? void 0 : _d.$TonkenKey) || localStorage.getItem("TokenName") || localStorage.getItem("tokenName") || sessionStorage.getItem("TokenName") || sessionStorage.getItem("tokenName") || globalThis.TokenName || globalThis.tokenName || "satoken";
|
|
76554
76554
|
const tokenValue = ((_f = (_e = app$1 == null ? void 0 : app$1.config) == null ? void 0 : _e.globalProperties) == null ? void 0 : _f.$TokenValue) || localStorage.getItem("TokenValue") || sessionStorage.getItem("TokenValue") || localStorage.getItem("tokenValue") || sessionStorage.getItem("tokenValue") || globalThis.TokenValue || globalThis.tokenValue || "";
|
|
76555
76555
|
if (tokenValue) {
|
|
76556
76556
|
config.headers[tokenName] = tokenValue;
|
|
@@ -76919,7 +76919,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76919
76919
|
_tmp = _tmp[_tmp.length - 1];
|
|
76920
76920
|
if (isNotNull(_tmp)) {
|
|
76921
76921
|
if (_tmp.indexOf(".") !== -1) {
|
|
76922
|
-
_url.value = getImageBaseUrl() +
|
|
76922
|
+
_url.value = getImageBaseUrl() + nv;
|
|
76923
76923
|
} else {
|
|
76924
76924
|
const res = await getFilePathByIds(_tmp) || "";
|
|
76925
76925
|
if ((res == null ? void 0 : res.length) && ((_b = res[0]) == null ? void 0 : _b.filePath)) {
|
|
@@ -76990,7 +76990,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76990
76990
|
};
|
|
76991
76991
|
}
|
|
76992
76992
|
});
|
|
76993
|
-
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
76993
|
+
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e24e1047"]]);
|
|
76994
76994
|
NsImage.install = (app2) => {
|
|
76995
76995
|
app2.component(NsImage.name, NsImage);
|
|
76996
76996
|
};
|