Skip to content

Instantly share code, notes, and snippets.

@CleanCoder
Created Oct 10, 2017
Embed
What would you like to do?
// 页面定时刷新
<head>
@if (ViewBag.RefreshSeconds != null && ViewBag.RefreshSeconds > 0)
{
<meta http-equiv="refresh" content="@ViewBag.RefreshSeconds">
}
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment