sbd-npm 1.2.100 → 1.2.101

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 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.100",
3
+ "version": "1.2.101",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -1257,7 +1257,8 @@ const Util = {
1257
1257
 
1258
1258
  render_category_top_modal: function() {
1259
1259
  Util.show_loading();
1260
- Util.post(location.pathname, {"action": "category_top_statistics", "type": $("#category_top_type").val()}, function (j) {
1260
+ let category_top_type = $("#category_top_type").val();
1261
+ Util.post(location.pathname, {"action": "category_top_statistics", "type": category_top_type}, function (j) {
1261
1262
  let _html = [];
1262
1263
  j["data"].forEach(function (item) {
1263
1264
  let date_data = [], cole_url = "";