sbd-npm 1.1.12 → 1.1.13

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 +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -1328,7 +1328,7 @@ let Util = {
1328
1328
  obj.tooltip();
1329
1329
  },
1330
1330
 
1331
- init_stock_stuff: function (element_id, index_list) {
1331
+ init_stock_stuff: function (element_id, index_list, is_us = 0) {
1332
1332
  let code_list = Util.get_code_list($("#" + element_id));
1333
1333
  if (code_list.length > 0) {
1334
1334
  Util.show_tips("Loading...");
@@ -1363,7 +1363,7 @@ let Util = {
1363
1363
  $("#remark_" + code).html(remark);
1364
1364
  }
1365
1365
  });
1366
- Util.refresh_index_price(element_id, index_list.join("-"));
1366
+ Util.refresh_index_price(element_id, index_list.join("-"), is_us);
1367
1367
  Util.hide_tips();
1368
1368
  }, "json");
1369
1369
  }