上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页

2022年5月11日

git基础:解决合并冲突

摘要: 现决定要谁的,不要谁的,把不要的,手动打开文件,手动删除,然后再提交一次 git commit -m "提交原因" 即可 阅读全文

posted @ 2022-05-11 19:04 In-6026 阅读(15) 评论(0) 推荐(0) 编辑

git基础:提交/拉取

摘要: clone git clone url 把该项目的所有分支clone到本地(如果是私人仓库需要输入密码) pull 拉取指定分支,与本地的分支合并 git pull origin 远程分支名:本地分支名 eg: git pull origin master:main 把github仓库里的maste 阅读全文

posted @ 2022-05-11 18:54 In-6026 阅读(70) 评论(0) 推荐(0) 编辑

git基础:分支 与 合并

摘要: 创建:需要在commit之后,master才能创建分支,否则报错“not a valid object name: 'master” git branch name 查看: git branch -v 切换: git checkout name 删除 git branch -d name 删除远程分 阅读全文

posted @ 2022-05-11 18:51 In-6026 阅读(19) 评论(0) 推荐(0) 编辑

git向github push报错—— unable to access 'https://github.com/xxx/xxx': OpenSSL SSL_read: Connection was reset, errno 10054

摘要: 解决方法: 1. git config --global https.sslVerify true git config --global http.sslVerify true 或者使用ssh地址,不用http/https地址 但使用ssh地址需要生成密钥,这又是另一个问题 阅读全文

posted @ 2022-05-11 17:05 In-6026 阅读(45) 评论(0) 推荐(0) 编辑

2022年5月8日

vscode自动编译less

摘要: vscode安装插件Easy Less 在setting.json里添加如下配置 "less.compile": { "compress": false, "sourceMap": false, "out": "${workspaceRoot}\\css\\", // 这里是代表编译后生成的css文 阅读全文

posted @ 2022-05-08 23:41 In-6026 阅读(34) 评论(0) 推荐(0) 编辑

2022年5月7日

canvas的width与css中的width

摘要: 在css中虽然也能设置canvas的样式,但是,对于width,height这两个重要属性必须必须必须设置在标签是,不然会影响绘画时的定位,栗子:画的圆歪七扭八 阅读全文

posted @ 2022-05-07 03:13 In-6026 阅读(30) 评论(0) 推荐(0) 编辑

2022年4月21日

css就能实现的禁止选中

摘要: { -webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-select:none; /*早期浏览器*/ -moz-user-select:none;/*火狐*/ -m 阅读全文

posted @ 2022-04-21 22:31 In-6026 阅读(26) 评论(0) 推荐(0) 编辑

2022年4月15日

记一次requestAnimationFrame导致this指向改变问题,通过bind改回this指向

摘要: 代码: button触发play()函数,再触发里面的player.play()报错:它说找不到这个analyser 在draw函数里打印 打印出来了,看来只能正常运行一次(第一次没有报错,第二次他就不认识analyser了),requestAnimationFrame没有正常运行 那么就是requ 阅读全文

posted @ 2022-04-15 18:21 In-6026 阅读(207) 评论(0) 推荐(0) 编辑

call/apply/bind改变this指向

摘要: 版权声明:本文为CSDN博主「韩大璐」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:https://blog.csdn.net/weixin_41257563/article/details/89001098 call, apply, bind 三者作 阅读全文

posted @ 2022-04-15 18:08 In-6026 阅读(79) 评论(0) 推荐(0) 编辑

2022年4月13日

vue-router: No match found for location with path '/xxx/yyy'

摘要: 我遇到这个问题的原因是路由的name名字重复,导致找不到跳转的路由 { path: 'store', name: 'store', component: StoreVue } //就是这里的name和别的重复了,应该避免 阅读全文

posted @ 2022-04-13 18:35 In-6026 阅读(233) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页

导航