我在public class MediaModel
{
public long MediaId { get; set; }
[StringLength(60)]
[RegularExpression(@"((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)", ErrorMessage = "Not a valid website URL")]
public string Website { get; set; }
[DisplayName("YouTube Video")]
[StringLength(200)]
[RegularExpression(@"((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)", ErrorMessage = "Not a valid YouTube video")]
public string YouTubeVideo { get; set; }
}
文件中使用了message=FALSE
,但仍然显示警告。知道出了什么问题吗?
Rmd
出现了一堆警告:
##在comparison.cloud中警告(。,colors = c(“red”,“violetred4”,“rosybrown1”),:心脏无法在页面上显示。它不会被绘制。