vue $router 打开空白页

    技术2022-07-17  72

    默认是替换当前页

    this.$router.push('/index')

    可以用如下方法进行空白页打开

    let xtbl = this.$router.resolve('/host/wait') window.open(xtbl.href, '_blank');
    Processed: 0.009, SQL: 9