sbd-npm 1.2.1 → 1.2.2

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 (3) hide show
  1. package/package.json +1 -1
  2. package/util.js +1 -1
  3. package/.npmignore +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -1994,7 +1994,7 @@ const Util = {
1994
1994
  Util.refresh_index_price(element_id, index_list.join("-"), is_us, 0);
1995
1995
  }
1996
1996
  let total_num = valid_code_list.length;
1997
- if (total_num > 0 && total_num < 100) { // 涨跌统计
1997
+ if (total_num > 0) { // 涨跌统计
1998
1998
  if ($("#" + element_id + "_tips").length) {
1999
1999
  let average_change_percent = Math.round((total_change_percent / total_num) * 10000) / 100;
2000
2000
  let average_year_change_percent = Math.round((total_year_change_percent / total_num) * 10000) / 100;
package/.npmignore DELETED
@@ -1 +0,0 @@
1
- sbd-npm.md