aoscici2000
V2EX  ›  Vue.js

Vue 拦截器跳转后的链接点击无效是怎么回事?

  •  
  •   aoscici2000 · Mar 8, 2019 · 2255 views
    This topic created in 2640 days ago, the information mentioned may be changed or developed.

    如题, 我的 login 页面有一个 register 的链接, 用户点击商品购买按钮时拦截器直接跳转到 login 页面: next({path: '/login', query: {next: to.fullPath}}), 然而通过这样跳转过来后, 直接点击 register 就没反应了(鼠标放上去显示链接是正常的, 右键也能正常打开), 点击的时候地址栏还闪一下. 没有任何报错, 也没提示.

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2912 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:18 · PVG 11:18 · LAX 20:18 · JFK 23:18
    ♥ Do have faith in what you're doing.