@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.umd.js CHANGED
@@ -2435,10 +2435,14 @@
2435
2435
  const len = params.length;
2436
2436
  for (let i = 0; i < len; i++) {
2437
2437
  const param = params[i];
2438
+ if (param == null || param === "")
2439
+ continue;
2438
2440
  const keyAndValue = param.split("=");
2439
- const key = keyAndValue[0];
2440
- const value = keyAndValue[1];
2441
- window.config[key] = value;
2441
+ if (Array.isArray(keyAndValue)) {
2442
+ const key = keyAndValue[0];
2443
+ const value = keyAndValue[1];
2444
+ window.config[key] = value;
2445
+ }
2442
2446
  }
2443
2447
  };
2444
2448
  const PageConfig_vue_vue_type_style_index_0_scoped_true_lang = "";