1.下载 toastr.js组件
2.
$(function () { toastr.success('提交数据成功'); toastr.error('Error'); toastr.warning('只能选择一行进行编辑'); toastr.info('info'); });