-
vue 视图中
<router-link to="samples" target="_blank">Samples</router-link>
-
script中
h("router-link", { attrs: { to: "/samples", target: "_blank" }, style: { fontWeight: "bold", fontSize: "1.2em" } }, 'Samples')
vue 视图中
<router-link to="samples" target="_blank">Samples</router-link>
script中
h("router-link", {
attrs: {
to: "/samples",
target: "_blank"
},
style: {
fontWeight: "bold",
fontSize: "1.2em"
}
},
'Samples')
本文标题:Vue router-link 设置新打开的tab页
本文链接:https://www.haomeiwen.com/subject/fvzoeftx.html
网友评论