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.
- package/package.json +1 -1
- package/util.js +1 -1
- package/.npmignore +0 -1
package/package.json
CHANGED
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
|
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
|