@titaui/pc 1.9.113 → 1.9.114
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.
|
@@ -72,7 +72,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
72
72
|
var preCls = "titaui-book-demo-pc-content";
|
|
73
73
|
var uname = window.BSGlobal && window.BSGlobal.loginUserInfo.Name || "";
|
|
74
74
|
var uid = window.BSGlobal && window.BSGlobal.tenantInfo.Id || "";
|
|
75
|
-
var source = window.BSGlobal && window.BSGlobal.tenantInfo.Source || (0, _utils.getSource)(
|
|
75
|
+
var source = window.BSGlobal && window.BSGlobal.tenantInfo.Source || (0, _utils.getSource)();
|
|
76
76
|
var lname = window.BSGlobal && window.BSGlobal.loginUserInfo.Name || "";
|
|
77
77
|
var lmobile = window.BSGlobal && window.BSGlobal.loginUserInfo.Mobile || "";
|
|
78
78
|
var lcompany = window.BSGlobal && window.BSGlobal.tenantInfo.Name || "";
|
|
@@ -13,12 +13,13 @@ var getTypeData = function getTypeData(type) {
|
|
|
13
13
|
|
|
14
14
|
exports.getTypeData = getTypeData;
|
|
15
15
|
|
|
16
|
-
var getSource = function getSource(
|
|
17
|
-
var reg =
|
|
18
|
-
var
|
|
16
|
+
var getSource = function getSource() {
|
|
17
|
+
var reg = /source=[0-9]*/g;
|
|
18
|
+
var sourceQuery = window.location.href.match(reg);
|
|
19
19
|
|
|
20
|
-
if (
|
|
21
|
-
|
|
20
|
+
if (sourceQuery) {
|
|
21
|
+
var source = decodeURIComponent(sourceQuery[0].split("=")[1]);
|
|
22
|
+
return source;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
return 0;
|