跳转白页

    // 跳转白页
    outbrowser() {
      setTimeout(() => {
        let userAgent = navigator.userAgent
        if (userAgent.indexOf('Firefox') != -1 || userAgent.indexOf('Chrome') != -1) {
          window.open('', '_self').close()
          window.location.href = 'about:blank'
        } else {
          window.opener = null
          window.open('about:blank', '_self')
          window.close()
        }
      }, 1500)
    },
君不见,高堂明镜悲白发,朝如青丝暮成雪
原文地址:https://www.cnblogs.com/lzhflzjx/p/13716902.html