dfs-page-config 0.5.60 → 0.5.61
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/dist/dfs-page-config.js +12 -11
- package/dist/dfs-page-config.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
|
@@ -124904,21 +124904,22 @@ const Row = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$6
|
|
|
124904
124904
|
Ff.component(tAe.name, tAe);
|
|
124905
124905
|
});
|
|
124906
124906
|
}, sensors$1 = (Ff, kh) => {
|
|
124907
|
-
|
|
124907
|
+
var sAe;
|
|
124908
|
+
if (((sAe = Ff == null ? void 0 : Ff.VITE_NODE_ENV) == null ? void 0 : sAe.indexOf("prod")) === -1)
|
|
124908
124909
|
return;
|
|
124909
124910
|
const tAe = JSON.parse(localStorage.getItem("userInfo") || "{}");
|
|
124910
124911
|
if (!tAe.name)
|
|
124911
124912
|
return;
|
|
124912
|
-
const oAe = kh || window.location.host.split(".")[0](function(
|
|
124913
|
-
var
|
|
124914
|
-
if (typeof
|
|
124913
|
+
const oAe = kh || window.location.host.split(".")[0](function(pAe) {
|
|
124914
|
+
var hAe = pAe.sdk_url, AAe = pAe.name, vAe = window, CAe = document, wAe = "script", EAe = null, _Ae = null;
|
|
124915
|
+
if (typeof vAe.sensorsDataAnalytic201505 < "u")
|
|
124915
124916
|
return !1;
|
|
124916
|
-
|
|
124917
|
+
vAe.sensorsDataAnalytic201505 = AAe, vAe[AAe] = vAe[AAe] || function(OAe) {
|
|
124917
124918
|
return function() {
|
|
124918
|
-
(AAe
|
|
124919
|
+
(vAe[AAe]._q = vAe[AAe]._q || []).push([OAe, arguments]);
|
|
124919
124920
|
};
|
|
124920
124921
|
};
|
|
124921
|
-
for (var
|
|
124922
|
+
for (var xAe = [
|
|
124922
124923
|
"track",
|
|
124923
124924
|
"quick",
|
|
124924
124925
|
"register",
|
|
@@ -124938,9 +124939,9 @@ const Row = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$6
|
|
|
124938
124939
|
"trackLink",
|
|
124939
124940
|
"clearAllRegister",
|
|
124940
124941
|
"getAppStatus"
|
|
124941
|
-
],
|
|
124942
|
-
AAe
|
|
124943
|
-
AAe
|
|
124942
|
+
], DAe = 0; DAe < xAe.length; DAe++)
|
|
124943
|
+
vAe[AAe][xAe[DAe]] = vAe[AAe].call(null, xAe[DAe]);
|
|
124944
|
+
vAe[AAe]._t || (EAe = CAe.createElement(wAe), _Ae = CAe.getElementsByTagName(wAe)[0], EAe.async = 1, EAe.src = hAe, EAe.setAttribute("charset", "UTF-8"), vAe[AAe].para = pAe, _Ae.parentNode.insertBefore(EAe, _Ae));
|
|
124944
124945
|
})({
|
|
124945
124946
|
sdk_url: "https://cdn.jsdelivr.net/npm/sa-sdk-javascript@1.15.25/sensorsdata.min.js",
|
|
124946
124947
|
name: "sensors",
|
|
@@ -128970,7 +128971,7 @@ const analyzeResourceLoadTime = () => {
|
|
|
128970
128971
|
);
|
|
128971
128972
|
}, index = (Ff, kh) => {
|
|
128972
128973
|
var oAe, sAe;
|
|
128973
|
-
kh.env || console.error(
|
|
128974
|
+
kh.env || console.error('缺少环境变量,请在main.ts中注册“DfsPageConfig”时配置env【app.use(DfsPageConfig, {..., env: {"VITE_NODE_ENV":"production","VITE_APP_API":"https://gateway-c4.doublefs.com","BASE_URL":"/","MODE":"production","DEV":false,"PROD":true}})】'), ["getters", "_actions"].forEach((pAe) => {
|
|
128974
128975
|
Object.keys(store[pAe]).forEach((hAe) => {
|
|
128975
128976
|
kh.store[pAe][hAe] = store[pAe][hAe];
|
|
128976
128977
|
});
|