我试图将在我的应用程序中出现的烤面包的数量设置为6,我使用的是角烤面包机,并且我给了maxOpened = 5
,但它对我不起作用。我已经设置了这样的选项
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": false,
"maxOpened": 5,
"progressBar": true,
"positionClass": "toast-top-right",
"preventDuplicates": false,
"onclick": onToasterClick,
"showDuration": "300",
"hideDuration": "120000",
"timeOut": "20000",
"extendedTimeOut": "0",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
};
我想知道有什么方法可以将其设置为5。