dfs-page-config 0.5.62 → 0.5.63
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
CHANGED
|
@@ -124904,13 +124904,12 @@ 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
|
-
|
|
124908
|
-
if (((sAe = Ff == null ? void 0 : Ff.VITE_NODE_ENV) == null ? void 0 : sAe.indexOf("prod")) === -1)
|
|
124907
|
+
if (((Ff == null ? void 0 : Ff.VITE_NODE_ENV) || "").indexOf("prod") === -1)
|
|
124909
124908
|
return;
|
|
124910
|
-
const
|
|
124911
|
-
if (!
|
|
124909
|
+
const oAe = JSON.parse(localStorage.getItem("userInfo") || "{}");
|
|
124910
|
+
if (!oAe.name)
|
|
124912
124911
|
return;
|
|
124913
|
-
const
|
|
124912
|
+
const sAe = kh || window.location.host.split(".")[0];
|
|
124914
124913
|
(function(pAe) {
|
|
124915
124914
|
var hAe = pAe.sdk_url, AAe = pAe.name, vAe = window, CAe = document, wAe = "script", EAe = null, _Ae = null;
|
|
124916
124915
|
if (typeof vAe.sensorsDataAnalytic201505 < "u")
|
|
@@ -124951,8 +124950,8 @@ const Row = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$6
|
|
|
124951
124950
|
use_client_time: !0,
|
|
124952
124951
|
send_type: "beacon"
|
|
124953
124952
|
}), sensors.registerPage({
|
|
124954
|
-
application_name_test:
|
|
124955
|
-
dfsUserId:
|
|
124953
|
+
application_name_test: sAe,
|
|
124954
|
+
dfsUserId: oAe.name
|
|
124956
124955
|
}), sensors.quick("autoTrack");
|
|
124957
124956
|
}, _sfc_main$7 = defineComponent({
|
|
124958
124957
|
name: "SplitScreen",
|
|
@@ -128971,7 +128970,7 @@ const analyzeResourceLoadTime = () => {
|
|
|
128971
128970
|
);
|
|
128972
128971
|
}, index = (Ff, kh) => {
|
|
128973
128972
|
var oAe, sAe;
|
|
128974
|
-
kh.env || console.error(
|
|
128973
|
+
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) => {
|
|
128975
128974
|
Object.keys(store[pAe]).forEach((hAe) => {
|
|
128976
128975
|
kh.store[pAe][hAe] = store[pAe][hAe];
|
|
128977
128976
|
});
|