setTimeout(function(){
window.location.reload();//刷新当前页面.
},2000)
window.location.reload();//刷新当前页面.
parent.location.reload()//刷新父亲对象(用于框架)
opener.location.reload()//刷新父窗口对象(用于单开窗口)
top.location.reload()//刷新最顶端对象(用于多开窗口)
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="./css/font.css">
<link rel="stylesheet" href="./css/xadmin.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="./js/xadmin.js"></script>
<script type="text/javascript">
parent.location.reload();/*此处应用每次操作后自动刷新页面 */
</script>
</head>