注释的链接是可以跳转的,但下面那个this.uewUrl就不行,
看了一些教程说要加个参数 "_blank",但好像不行,加了后地址就消失了,如图二
去掉"_blank" 地址显示正常,但点击没反应
this.newUrl是有值的,浏览器也能打开
你上面window.open(url)下面变成了window.open=(url)多了个等号,当然不行啦
window.open(url)
window.open=(url)
2.1m questions
2.1m answers
63 comments
56.6k users