<c:if test="${not empty param.timeout}"> layer.msg('连接超时,请重新登陆!', { offset: 0, shift: 6 }); </c:if>
http://localhost:8090/WebChat/user/login?timeout=false
就可以获取到timeout的值,为false
<c:if test="${not empty param.timeout}"> layer.msg('连接超时,请重新登陆!', { offset: 0, shift: 6 }); </c:if>
http://localhost:8090/WebChat/user/login?timeout=false
就可以获取到timeout的值,为false
转载于:https://my.oschina.net/cxx666/blog/1822080