@partex/one-core 2.0.85 → 2.0.86
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/one-core.cjs +2 -2
- package/lib/one-core.js +3 -3
- package/lib/one-core.umd.cjs +2 -2
- package/package.json +1 -1
package/lib/one-core.js
CHANGED
|
@@ -1000,7 +1000,7 @@ const TY = () => {
|
|
|
1000
1000
|
url: `${kd}${e}`,
|
|
1001
1001
|
method: "POST",
|
|
1002
1002
|
data: t
|
|
1003
|
-
}), V_ = "2.0.
|
|
1003
|
+
}), V_ = "2.0.86";
|
|
1004
1004
|
function fD() {
|
|
1005
1005
|
const e = Wt("platformListOwned", !1);
|
|
1006
1006
|
if (e) {
|
|
@@ -28155,7 +28155,7 @@ const HG = /* @__PURE__ */ ne(BG, [["render", GG]]), c_ = (e) => {
|
|
|
28155
28155
|
r.commissioner = !1, n.includes(String(r.tenantLoginCode)) && (r.commissioner = !0);
|
|
28156
28156
|
const a = r.ownedProducts ? JSON.parse(r.ownedProducts) : [];
|
|
28157
28157
|
let i = re.platformMainUrl || re.platformUrl;
|
|
28158
|
-
re.platformMainUrl === "auto" && (r.industryCategory === "0" ? i = "https://www.partexiot.cn" : r.industryCategory === "1" && (i = "https://printing.partexiot.cn"));
|
|
28158
|
+
re.platformMainUrl === "auto" && (r.industryCategory === "0" ? i = "https://www.partexiot.cn/iot/home/all" : r.industryCategory === "1" && (i = "https://printing.partexiot.cn/prt/home/all"));
|
|
28159
28159
|
const o = [
|
|
28160
28160
|
{
|
|
28161
28161
|
label: () => Dn.global.t("Platform.iot"),
|
|
@@ -28904,7 +28904,7 @@ const sH = /* @__PURE__ */ ne(aH, [["render", oH]]), lH = Ie({
|
|
|
28904
28904
|
default: () => T.icon && T.icon()
|
|
28905
28905
|
}
|
|
28906
28906
|
) : !1, m = (T) => {
|
|
28907
|
-
e.qiankun ? window.location.href = `${e.mainUrl || "https://www.partexiot.cn"}${T}` : n.replace(T);
|
|
28907
|
+
console.log(u.value), console.log(T), e.qiankun ? window.location.href = `${e.mainUrl || "https://www.partexiot.cn"}${T}` : n.replace(T);
|
|
28908
28908
|
}, _ = () => {
|
|
28909
28909
|
o.value = !1;
|
|
28910
28910
|
}, y = () => {
|