重庆熊猫 Loading

JavaScript 重定向到一个 URL

用于重定向到新 URL

const redirect = url => location.href = url
redirect("https://www.google.com/");
posted @ 2023-01-23 10:15  重庆熊猫  阅读(46)  评论(0编辑  收藏  举报