react点击按钮跳转到一个新的窗口的功能实现

onClick={this.handle} handle(){ const w=window.open('about:blank'); w.location.href='你的地址' }
相关文章
相关标签/搜索