首页 > 其他 > 详细

访问Index function 两次

时间:2015-06-28 22:45:27      阅读:104      评论:0      收藏:0      [点我收藏+]

cshtml

<bgsound src = ‘‘/>

Controller

public ActionResult Index (int id?)

{

  ...

}

 

如果访问这个页面的话,会连续访问两次,由于scr =‘‘ 造成,把scr=‘‘ 去掉就可以了

cshtml

<bgsound/>

访问Index function 两次

原文:http://www.cnblogs.com/lavenvsxiaoye/p/4606136.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!