router 跳转打开新窗口

let url = router.resolve({
    
    
        name: 'screen', 
 })?.href

window.open(url, '_black')

注意:新窗口无法全屏

在这里插入图片描述
参考链接:https://stackoverflow.com/questions/29281986/run-a-website-in-fullscreen-mode/30970886#30970886

猜你喜欢

转载自blog.csdn.net/weixin_41886421/article/details/132111609