02 2021 档案

摘要:dom事件调用方法,.prevent阻止浏览器右击事件:@contextmenu.prevent="rightClickEvent($event,scope.row.author)" @mouseup.prevent="mouseup($event,scope.row.author)" method 阅读全文
posted @ 2021-02-28 23:29 Deer_Lin 阅读(1533) 评论(0) 推荐(0)
摘要:/* :nth-of-type(odd)奇数行 */ /* .el-table th:nth-of-type(odd), .el-table tr:nth-of-type(odd) { background: #d1ffec; } */ /* :nth-of-type(even)偶数行 */ /* 阅读全文
posted @ 2021-02-24 15:10 Deer_Lin 阅读(534) 评论(0) 推荐(0)
摘要:1.概述 小伙伴们开发项目越来越多,对于新项目和之前项目在node版本上可能遇到过所需本地node版本不同问题,最近我也遇到同样问题,新项目node版本在14.15.5,有一个维护了几年的项目,node版本不能超过10.14.1版本。于是我就想到了nvm,nodejs版本管理工具。 在使用过程遇到一 阅读全文
posted @ 2021-02-21 15:45 Deer_Lin 阅读(16309) 评论(0) 推荐(0)
摘要:/* 呼吸灯效果、匀速、反复 */ animation: shine 1s linear 0s infinite alternate; @keyframes shine { 0%{ opacity: 1; } 100%{ opacity: 0; } } /* 旋转效果、反复 */ animation 阅读全文
posted @ 2021-02-20 14:09 Deer_Lin 阅读(1452) 评论(0) 推荐(0)
摘要:前期准备 代码从远程clone代码到本地,此时你本地代码链接一个远程仓库。比如地址:https://github.com/deerlin/cms-group.git 如需同时链接两个,可以再建立一个远程仓库。比如地址:https://gitee.com/deerlin/cms-group.git 具 阅读全文
posted @ 2021-02-20 09:03 Deer_Lin 阅读(867) 评论(0) 推荐(0)
摘要:url地址如:http://43.40.39.417/td?id=14 在开发中偶尔会出现要前端自己截取url中的id 可以使用js的split方法来截取 self.$nextTick(function() { var url = window.location.href; let id = ''; 阅读全文
posted @ 2021-02-18 09:15 Deer_Lin 阅读(740) 评论(0) 推荐(0)
摘要:在谷歌浏览器输入下方地址: chrome://version/ 阅读全文
posted @ 2021-02-01 10:23 Deer_Lin 阅读(296) 评论(0) 推荐(0)