上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 125 下一页
摘要: 遍历循环的使用 node_modules 不仅仅是当前目录,遍历所有目录都忽略 如果是./node_modules是 本来苦恼,每层都得加上 .gitignore 的 一、在项目根目录下(和.git在同一级目录下),增加.gitignore文件。 #开头 #注释,被git忽略 *.class #忽略 阅读全文
posted @ 2022-08-03 17:56 盘思动 阅读(276) 评论(0) 推荐(1) 编辑
摘要: var brr = ['apple','apple', 'strawberry', 'banana', 'pear', 'apple', 'orange', 'orange', 'strawberry']; var crr = brr.filter((element,index,self) => { 阅读全文
posted @ 2022-08-03 14:49 盘思动 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 如果没出现结果,返回-1 let str = '2300dsklkladsklsdkl' console.log(str.indexOf('s'))//5 console.log(str.indexOf('s2'))//-1 https://www.cnblogs.com/djd66/p/15687 阅读全文
posted @ 2022-08-03 14:35 盘思动 阅读(60) 评论(0) 推荐(0) 编辑
摘要: dralog.js import Vue from 'vue' // v-dialogDrag: 弹窗拖拽 Vue.directive('dialogDrag', { bind(el, binding, vnode, oldVnode) { const dialogHeaderEl = el.que 阅读全文
posted @ 2022-08-02 14:02 盘思动 阅读(35) 评论(0) 推荐(0) 编辑
摘要: some -- 检测数组中元素是否满足指定条件,返回ture或false some不会对空数组检测 some不会改变原始数据的值 案例一 function f(value, index, ar) { if (value % 2 == 0) { return true; } } var a = [1, 阅读全文
posted @ 2022-07-30 10:56 盘思动 阅读(216) 评论(1) 推荐(0) 编辑
摘要: class是tags-li,并没有active 做悬浮效果 .tags-li:not(.active):hover { background: #f8f8f8; } class是tags-li 并且也有active .tags-li.active { color: #fff; } 阅读全文
posted @ 2022-07-30 10:25 盘思动 阅读(160) 评论(1) 推荐(0) 编辑
摘要: 实测有效--执行后提示再输入密码 3.清除缓存的用户名和密码 git credential-manager uninstall git的使用分为两种ssh和http,清除本地账号密码首先需要确定使用的是哪种模式。 查看模式命令如下: 1.git config --list查看 2.git remot 阅读全文
posted @ 2022-07-29 17:25 盘思动 阅读(7216) 评论(1) 推荐(1) 编辑
摘要: git pull --rebase origin master 这里意思是把远程库中合并到本地,–rebase的作用是取消掉本地库中之前的提交, 阅读全文
posted @ 2022-07-29 17:04 盘思动 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 因为yarn.lock中安装的版本,和package-lock.json中element-ui版本不同所致. ????yarn.lock 中库的版本,不会参考package-lock.json中版本嘛???? https://blog.csdn.net/qq_32881447/article/det 阅读全文
posted @ 2022-07-29 11:22 盘思动 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 视频:https://www.imooc.com/learn/33 阅读全文
posted @ 2022-07-27 18:20 盘思动 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 125 下一页