sbd-npm 1.2.61 → 1.2.62

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 +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.61",
3
+ "version": "1.2.62",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -2166,7 +2166,7 @@ const Util = {
2166
2166
  if (code_list.length > 0) {
2167
2167
  Util.show_loading();
2168
2168
  let tips_obj = $("#" + element_id + "_tips");
2169
- if (tips_obj.length && tips_obj.html().length === 0) {
2169
+ if (tips_obj.length) {
2170
2170
  tips_obj.html('共 <span class="label label-info">' + code_list.length + '</span> 家');
2171
2171
  }
2172
2172
  //获取股票详情数据