怎么点击URL然后调用这段JS试下这样行不行:<a href="javascript:location.href = encodeURL('<%=request.getContextPath()%>foodfr2023-03-21JavaScript180