📜  反应钩子链接到外部站点新选项卡 - Javascript代码示例
📅  最后修改于: 2022-03-11 15:04:19.584000             🧑  作者: Mango
代码示例1
// Open in the same window
window.location.href = externalLink;
// Open in a new window
window.open(externalLink);