修改BUG:bootstrap-table 版本bug,toggle应该使用toggleOff
This commit is contained in:
parent
bea7a08c2f
commit
fb0288049e
|
@ -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
|
||||
|
|
|
@ -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);
|
Loading…
Reference in New Issue