用js写一段自动点击按钮的代码<button id="btn" onclick="window.location.href='index.html'">提交<button&2023-04-13JavaScript270