element-ui
赵博林
众所周知,程序员都很懒...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Vue-elementUI - 项目中报错Error: Avoided redundant navigation to current location: “/xxx“.的解决方案
报错显示路由重复,对功能没有影响,可是强迫症看着不爽。 具体表现: 重复点击 elementui 中 tab 栏菜单,会报这种错误。 解决方案: // 解决ElementUI导航栏中的vue-router在3.0版本以上重复点菜单报错问题 const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push (location) { return originalPush.call(this, l原创 2020-07-21 13:38:23 · 3237 阅读 · 1 评论 -
如何升级vue项目中的element-ui的版本
1.首先卸载项目中的element-ui 命令为: npm uninstall element-ui 2.安装更新最新的element-ui 命令为: npm i element-ui -S 3.遇到的坑: 报错: Module build failed: Error: ENOENT: no such file or directory, open 'D:\workspace\audit-web-v2.0\node_modules \element-ui\lib\element-ui.common.原创 2020-07-11 20:37:36 · 3063 阅读 · 2 评论
分享