1.所有的js跳转都是通过setTimeout来实现延时跳转的:
setTimeout("window.location.href='/Login/Login'",3000);
2.php后台输出js跳转:
echo "alert('更改成功".$true.";更改失败".$false."');window.location.href='/index.php/Admin/Mall/MallList';";