修改BUG:bootstrap-table 版本bug,toggle应该使用toggleOff

This commit is contained in:
Argo-MacBookPro 2018-11-08 16:51:28 +08:00
parent bea7a08c2f
commit fb0288049e
2 changed files with 6 additions and 0 deletions

View File

@ -361,6 +361,9 @@
$('[data-toggle="popover"]').popover();
$('[data-toggle="lgbinfo"]').lgbInfo();
$('.date').lgbDatePicker();
// fix bug bootstrap-table 1.12.1 showToggle
$.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggle = $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggleOff;
});
// Roles

View File

@ -422,5 +422,8 @@
$('[data-toggle="popover"]').popover();
$('[data-toggle="lgbinfo"]').lgbInfo();
$('.date').lgbDatePicker();
// fix bug bootstrap-table 1.12.1 showToggle
$.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggle = $.fn.bootstrapTable.Constructor.DEFAULTS.icons.toggleOff;
});
})(jQuery);