直接使用toastr这个js插件,而不要使用toastr-rails这个gem,如果使用这个gem,那么在view中设置toastr将会无效,appication.js中对toastr的设置将对view中的toastr ...
確定! 回上一頁