sbd-npm 1.1.13 → 1.1.14

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 +8 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -616,7 +616,14 @@ let Util = {
616
616
  _html.push('</tr></tbody>');
617
617
  _html.push('</table>');
618
618
  let tz_obj = $("#" + options["table_zone_id"]);
619
- tz_obj.html(_html.join(""));
619
+ if (tz_obj.hasClass("panel")) {
620
+ tz_obj.find("table").each(function () {
621
+ $(this).remove();
622
+ });
623
+ tz_obj.append(_html.join(""));
624
+ } else {
625
+ tz_obj.html(_html.join(""));
626
+ }
620
627
  if (Util.is_mobile() && !tz_obj.hasClass("table-responsive")) {
621
628
  let tz_obj_parent = tz_obj.parent();
622
629
  if (!tz_obj_parent.hasClass("table-responsive")) {