随笔分类 -  Vue

Vue生态圈涵盖知识点和技能总结
摘要:查看项目安装包版本 方法一手动跟新: 修改package.json中依赖包版本,执行npm install --force 方法二使用第三方插件: npm install -g npm-check-updates ncu // 查看可更新包 ncu -u // 更新package.json npm 阅读全文
posted @ 2020-07-23 11:22 Letyo 阅读(7452) 评论(0) 推荐(0)
摘要:新窗口打开 detail(id) { let routerJump = this.$router.resolve({ path: '/eventwarn/detail', query: { id } }); window.open(routerJump.href, '_blank'); }, 阅读全文
posted @ 2020-07-06 16:35 Letyo 阅读(6001) 评论(0) 推荐(0)
摘要:v class 动态绑定 阅读全文
posted @ 2020-03-26 11:39 Letyo 阅读(1925) 评论(0) 推荐(0)
摘要:1.去掉input在type="number"时的上下箭头 2.禁用input数字滚轮事件 3.使用element ui+vue时,在el input加上@mousewheel.native.prevent来阻止鼠标滚动 4.如果还需要禁止上下箭头,则可采用以下方式 阅读全文
posted @ 2019-11-09 11:29 Letyo 阅读(2315) 评论(0) 推荐(1)
摘要:1.安装node "node官网安装地址" 推荐安装稳定版本(LTS)以及安装路径为系统盘(C) 查看node安装成功否 注释:以下命令使用 命令提示符(管理员)权限,win10 对user权限的限制了访问权限。 查看node版本 查看npm版本 查看node安装位置 注意:node 版本号大于np 阅读全文
posted @ 2019-04-25 17:40 Letyo 阅读(9600) 评论(0) 推荐(0)