JavaShuo
栏目
标签
解决vue项目Vue-router 报NavigationDuplicated: "Navigating to current location ("") is not allowed"的问题
时间 2020-08-05
标签
解决
vue
项目
router
navigationduplicated
navigating
current
location
allowed
问题
繁體版
原文
原文链接
出现问题的缘由 其缘由在于Vue-router在3.1以后把$router.push()方法改成了Promise。因此假如没有回调函数,错误信息就会交给全局的路由错误处理,所以就会报上述的错误。vue vue-router是先报了一个Uncaught (in promise)的错误(push没加回调),而后报NavigationDuplicated的错误(路由出现的错误,全局错误处理打印了出来。j
>>阅读原文<<
相关文章
1.
Navigating to current location ("/") is not allowed
2.
vue报错:name: "NavigationDuplicated",message: "Navigating to current location ("/pool") is not allowed
3.
vue路由跳转报错:NavigationDuplicated: Navigating to current location ("/F_moments") is not allowed...
4.
VUE-Router之解决 Navigating to current location (XXX) is not allowed
5.
解决message: "Navigating to current location ("/homePage") is not allowed",警告的问题
6.
NavigationDuplicated: Navigating to current location ("/admin/dataAdmin") is not allowe
7.
解决vue-router出现message: "Navigating to current location ("/admin/index") is not allowed"的问题
8.
Navigating to current location ("/threeFloor") is not allowed
9.
name: "NavigationDuplicated", message: "Navigating to current location ("/") is not allowed", stack:
10.
解决vue项目中出现NavigationDulicated,navigating to current location(xxxx) is not allowed的问题
更多相关文章...
•
Redis悲观锁解决高并发抢红包的问题
-
红包项目实战
•
Redis乐观锁解决高并发抢红包的问题
-
红包项目实战
•
PHP Ajax 跨域问题最佳解决方案
•
IntelliJ IDEA中SpringBoot properties文件不能自动提示问题解决
相关标签/搜索
问题解决
解决问题
问题&解决
allowed
current
navigationduplicated
navigating
Python问题解决
未解决问题
问题-已解决
红包项目实战
NoSQL教程
Spring教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
网络层协议以及Ping
2.
ping检测
3.
为开发者总结了Android ADB 的常用十种命令
4.
3·15 CDN维权——看懂第三方性能测试指标
5.
基于 Dawn 进行多工程管理
6.
缺陷的分类
7.
阿里P8内部绝密分享:运维真经K8S+Docker指南”,越啃越香啊,宝贝
8.
本地iis部署mvc项目,问题与总结
9.
InterService+粘性服务+音乐播放器
10.
把tomcat服务器配置为windows服务的方法
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Navigating to current location ("/") is not allowed
2.
vue报错:name: "NavigationDuplicated",message: "Navigating to current location ("/pool") is not allowed
3.
vue路由跳转报错:NavigationDuplicated: Navigating to current location ("/F_moments") is not allowed...
4.
VUE-Router之解决 Navigating to current location (XXX) is not allowed
5.
解决message: "Navigating to current location ("/homePage") is not allowed",警告的问题
6.
NavigationDuplicated: Navigating to current location ("/admin/dataAdmin") is not allowe
7.
解决vue-router出现message: "Navigating to current location ("/admin/index") is not allowed"的问题
8.
Navigating to current location ("/threeFloor") is not allowed
9.
name: "NavigationDuplicated", message: "Navigating to current location ("/") is not allowed", stack:
10.
解决vue项目中出现NavigationDulicated,navigating to current location(xxxx) is not allowed的问题
>>更多相关文章<<