我正在使用 Nuxt / Vue 并在我的站点标题路由器链接中使用。我看到的问题是当我单击指向路径的路由器链接时:
<nuxt-link to="/product-innovation/type">
<span class="link-brdr">Product</span>
</nuxt-link>
路径更改为:/product-innovation 而不是 /product-innovation/type
如果我第二次点击 nuxt 链接,它将导航到正确的页面路线。
答案 0 :(得分:1)
最后,问题是关于以前的开发人员使用 0 1234
1 abc
2 some text some text some text some text
的一些奇怪方式。
多亏了一些技巧(主要是vue devtools,路由选项卡),OP才能够自己解决!