Browse Source

Merge pull request #4142 from TantumLabs/patch-1

Fix auto-refresh icon
文翼 6 years ago
parent
commit
fcc3202b3d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/auto-refresh/bootstrap-table-auto-refresh.js

+ 1 - 1
src/extensions/auto-refresh/bootstrap-table-auto-refresh.js

@@ -17,7 +17,7 @@
     });
 
     $.extend($.fn.bootstrapTable.defaults.icons, {
-        autoRefresh: 'glyphicon-time icon-time'
+        autoRefresh: $.fn.bootstrapTable.utils.bootstrapVersion === 4 ? 'fa-clock' : 'glyphicon-time icon-time'
     });
 
     $.extend($.fn.bootstrapTable.locales, {