window.location.href的一种用法
window.location.href='<%=request.getContextPath()%>/patientCenter/main'; 在js中的使用方式,单引号直接添加controller请求路径,意为在当前窗口(页面)打开请求的页面
window.location.reload; 刷新当前页面
转载于:https://blog.51cto.com/9551422595/1375243
window.location.href='<%=request.getContextPath()%>/patientCenter/main'; 在js中的使用方式,单引号直接添加controller请求路径,意为在当前窗口(页面)打开请求的页面
window.location.reload; 刷新当前页面
转载于:https://blog.51cto.com/9551422595/1375243