摘要:
1,在Controller中的Action 中将指定值写上。 // // GET: /Home/ public ActionResult Index() { ViewBag.UserId = UserData.SysId; return View(); } ... 阅读全文
摘要:
平时在ASP.NET 中经常这样写, $('#loginOut').click(function() { $.messager.confirm('系统提示', '您确定要退出本次登录吗?', function(r) { if (r) { location.href = '~/Login/LogO... 阅读全文