sbd-npm 1.4.82 → 1.4.84

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.4.82",
3
+ "version": "1.4.84",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/stock_basics.js CHANGED
@@ -216,8 +216,8 @@ let Stock = {
216
216
  if (remark_html.length > 0) {
217
217
  remark_html.push("<br>");
218
218
  }
219
- if (item["desc"]) {
220
- remark_html.push("<br><p>" + item["desc"] + "</p>");
219
+ if (item["description"]) {
220
+ remark_html.push("<br><p>" + item["description"] + "</p>");
221
221
  }
222
222
  remark_html = remark_html.join("");
223
223
  // 同花顺|申万行业板块数据
package/util.js CHANGED
@@ -2087,6 +2087,8 @@ const Util = {
2087
2087
  });
2088
2088
  Util.render_table_html(modal_id + "_body", html);
2089
2089
  });
2090
+ } else {
2091
+ $("#" + element_id).html('<div style="margin-top: 80px; text-align: center;">暂无数据...</div>');
2090
2092
  }
2091
2093
  },
2092
2094