在MVC中跳转页面时是新开一个页面,而不是覆盖原页面

来源:互联网 发布:检测噪音的软件 编辑:程序博客网 时间:2024/06/05 19:11

<a href="@Url.Action("xxxxx")/@Model.Id" class="button btn blue" target="_blank">打印</a> 


加上target="_bank"就可以了

0 0
原创粉丝点击