@ecan-bi/datav 1.0.70 → 1.0.71
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/index.es.js +7 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -2429,10 +2429,14 @@ const useHrefParamsToGlobalVariables = () => {
|
|
|
2429
2429
|
const len = params.length;
|
|
2430
2430
|
for (let i = 0; i < len; i++) {
|
|
2431
2431
|
const param = params[i];
|
|
2432
|
+
if (param == null || param === "")
|
|
2433
|
+
continue;
|
|
2432
2434
|
const keyAndValue = param.split("=");
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2435
|
+
if (Array.isArray(keyAndValue)) {
|
|
2436
|
+
const key = keyAndValue[0];
|
|
2437
|
+
const value = keyAndValue[1];
|
|
2438
|
+
window.config[key] = value;
|
|
2439
|
+
}
|
|
2436
2440
|
}
|
|
2437
2441
|
};
|
|
2438
2442
|
const PageConfig_vue_vue_type_style_index_0_scoped_true_lang = "";
|