Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试false从您的 JavaScript 函数返回。这会导致浏览器在您的功能完成后停止并且不跟随链接。
false
我假设当您现在单击链接时,您只是被带到 url 并且 JavaScript 似乎不起作用。那是对的吗?