Vue. 之 报错 Uncaught (in promise)
2020-02-07 00:23
253 查看
vue,路由配置完点击出错!
在点击同一个URL的时候,会报错如下:
解决方案:
在项目目录下运行 npm i vue-router@3.0 -S 即可。
转载于:https://www.cnblogs.com/Charles-Yuan/p/11516676.htm
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- VUE 报这个错,在浏览器的 console 中报 uncaught (in promise)
- vue-cli Uncaught SyntaxError: Use of const in strict mode解决办法
- (video、audio)关于 Uncaught (in promise) DOMException: The play() request was interrupted by a call to
- angular4.0 ERROR Error: Uncaught (in promise): Error: No provider for AuthGuard! Error: No provider
- IE浏览器报Promise未定义的错误、解决vuex requires a Promise polyfill in this browser问题
- vue项目不支持IE11浏览器解决方法 vuex requires a Promise polyfill in this browser
- Uncaught (in promise) NotSupportedError: The element has no supported sources.微信小程序音频报错
- vuex requires a Promise polyfill in this browser
- Uncaught (in promise) TypeError: Super expression must either be null or a function
- vue做的项目在ie11下一片空白:vue requires a Promise pllyfill in this browser
- Uncaught (in promise) SyntaxError: Unexpected token o in JSON at position 1
- vue router 报错: Uncaught (in promise) NavigationDuplicated {_name:""NavigationDuplicated"... 的解决方法
- 关于 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause() 错误
- ERROR Error: Uncaught (in promise): Error: StaticInjectorError
- ionic3+angular4中给DOM添加监听事件后报错:Uncaught (in promise): TypeError: Cannot read property 'addEventListen
- 【Angular2】Uncaught (in promise): TypeError: Cannot read property 'id'
- Vuex requires a Promise polyfill in this browser
- H5视频、音频不能自动播放,Uncaught (in promise) DOMException
- IE报vuex requires a Promise polyfill in this browser问题解决
- Uncaught (in promise) NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicat