|
|
@@ -2695,6 +2695,13 @@ class BootstrapTable {
|
|
|
|
|
|
showLoading () {
|
|
|
this.$tableLoading.css('display', 'flex')
|
|
|
+
|
|
|
+ let fontSize = this.$tableLoading.width() * 0.04
|
|
|
+
|
|
|
+ fontSize = Math.max(12, fontSize)
|
|
|
+ fontSize = Math.min(32, fontSize)
|
|
|
+
|
|
|
+ this.$tableLoading.find('.loading-text').css('font-size', `${fontSize}px`)
|
|
|
}
|
|
|
|
|
|
hideLoading () {
|