confirm + if 逻辑判断 -代码篇

代码示下:

if(confirm("去看看?")){window.location.href="/";
}

以上就是关于“confirm + if 逻辑判断 -代码篇” 的全部内容。

返回
顶部