【发布时间】:2016-08-22 20:24:37
【问题描述】:
如何在 toastr 中显示多行错误信息?
我已将错误消息格式化如下
"Please fix the following: \r\nFirst Name is required\r\nLast Name is required\r\nEmail Address is required\r\n"
但在 toasrt 中它显示在单行中。请帮忙
【问题讨论】:
-
我相信 toastr 正在将字符串添加为 html 标签。
标签: toastr