【发布时间】:2013-07-28 06:06:06
【问题描述】:
以下
button(type="button", target="_blank", onclick="location.href='auth/google';")
不起作用。它在同一窗口中打开链接。仅供参考,它是 node.js 程序的一部分,我在其中使用 passportjs 进行谷歌身份验证。
【问题讨论】:
-
为什么不做一个锚标签?
标签: javascript html pug