sbd-npm 1.5.38 → 1.5.39

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.5.38",
3
+ "version": "1.5.39",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/util.js CHANGED
@@ -1468,7 +1468,7 @@ const Util = {
1468
1468
  }
1469
1469
  Util.init_table_skeleton(table_options);
1470
1470
  Util["portfolio_table_id"] = table_id;
1471
- Util.post(location.pathname, {active_div: portfolio}, function (j) {
1471
+ Util.post(location.pathname, {action: portfolio}, function (j) {
1472
1472
  Util["portfolio_data"] = j.data ? j.data : [];
1473
1473
  Util["portfolio_index"] = j.index_list ? j.index_list : [];
1474
1474
  Util.render_type_option($("#portfolio_industry"), j.data, "industry", Util.render_portfolio_html);
@@ -1699,7 +1699,7 @@ const Util = {
1699
1699
 
1700
1700
  fetch_word_data: function(is_init, specify_day, search_key) {
1701
1701
  Util.show_loading();
1702
- Util.post(location.pathname, {active_div: "word", is_init: is_init, specify_day: specify_day, search_key: search_key}, function (j) {
1702
+ Util.post(location.pathname, {action: "word", is_init: is_init, specify_day: specify_day, search_key: search_key}, function (j) {
1703
1703
  let html = [], index = 0;
1704
1704
  let is_mobile = Util.is_mobile();
1705
1705
  let is_speech_synthesis = document.getElementById("word_recite") ? 1 : 0;