window.location.href='<%=request.getContextPath()%>/patientCenter/main'; 在js中的使用方式,单引号直接添加controller请求路径,意为在当前窗口(页面)打开请求的页面
window.location.reload; 刷新当前页面
本文共 200 字,大约阅读时间需要 1 分钟。
window.location.href='<%=request.getContextPath()%>/patientCenter/main'; 在js中的使用方式,单引号直接添加controller请求路径,意为在当前窗口(页面)打开请求的页面
window.location.reload; 刷新当前页面
转载于:https://blog.51cto.com/9551422595/1375243