location.href

可以快速上手的开发文档

#location.href

详解js location.href和window.open的几种用法和区别

一、location.href常见的几种形式self.location.href;//当前页面打开URL页面window.location.href;//当前页..