sbd-npm 1.1.71 → 1.1.72
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 +1 -1
- package/util.js +10 -0
package/package.json
CHANGED
package/util.js
CHANGED
@@ -764,6 +764,16 @@ const Util = {
|
|
764
764
|
}
|
765
765
|
},
|
766
766
|
|
767
|
+
/**
|
768
|
+
* 表格加载状态
|
769
|
+
* @param element_id
|
770
|
+
*/
|
771
|
+
set_table_loading: function(element_id) {
|
772
|
+
let obj = $("#" + element_id);
|
773
|
+
let td_num = obj.parent().find('thead td').length;
|
774
|
+
obj.html('<tr><td colspan="' + td_num + '">Loading...</td></tr>');
|
775
|
+
},
|
776
|
+
|
767
777
|
/**
|
768
778
|
* 渲染板块内容
|
769
779
|
* @param classify_id
|