环境:父路由的path: /item/item01/,子路由的path:evaluate。
在模板中使用了 <router-view></router-view>,并且触发了
this.$router.push("/item/item01/evaluate");
并且如果push的是相对path:evaluate无效。
并且子路由的内容可以正常显示。
问题:Navigating to current location ("/item") is not allowed"
解决办法: