let routeUrl = this.$router.resolve({
path: '/test',
query: { id: 96 }
})
window.open(
routeUrl.href,
'_blank',
'height=600, width=1200, top=50, left=150, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no'
)
vue 打开新的窗口,自定义窗口属性
最新推荐文章于 2023-11-09 15:35:17 发布