谁能告诉我为什么......
<img src="@Url.Action("Index", "ReturnImage", @Model.GUID) alt="Doorstep signature" style="width:290px;height:290px;"/>
标记了初始
的错误'<'
End of file was reached before the 'img' tag could be parsed. Elements inside markup blocks must be complete.
They must either be self-closing("<br />") or have matching end tags ("<p>Hello</p>".
If you intended to display a "<" character, use the "<" HTML entity.
答案 0 :(得分:1)
问题是运行时无法处理冲突的引号。对于src,它看到"@Url.Action("
将此更改为:
<img src='@Url.Action("Index", "ReturnImage", @Model.GUID)' alt="Doorstep signature" style="width:290px;height:290px;"/>