sbd-npm 1.1.75 → 1.1.76

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/util.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.1.75",
3
+ "version": "1.1.76",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -2649,6 +2649,10 @@ const Util = {
2649
2649
  element.style.height = height;
2650
2650
  }
2651
2651
  }
2652
+ let jq_obj = $("#" + element_id);
2653
+ if ((Util.is_mobile() || Util.is_small_screen()) && !jq_obj.hasClass("table-responsive")) {
2654
+ jq_obj.addClass("table-responsive");
2655
+ }
2652
2656
  return echarts.init(element);
2653
2657
  },
2654
2658