06 2023 档案

git merge 合并代码命令别名
摘要:## 合并代码 ### 带全部 commit message 的合并 有时候, 期望合并的时候, 把相关的提交也带上,比如下面的格式 ``` Merge branch whmmm/abcd into test ::SUMMARY:: Branch whmmm/abcd commits: 751572 阅读全文

posted @ 2023-06-28 09:39 正义的伙伴! 阅读(39) 评论(0) 推荐(0) 编辑

chrome 跨域问题解决
摘要:## 1. 后端设置了跨域, https 下可以, http 不可以 高版本 chrome 配置了策略, 如果访问私有网络, 会出现禁止跨域 chrome://flags/#block-insecure-private-network-requests Block insecure private 阅读全文

posted @ 2023-06-09 11:53 正义的伙伴! 阅读(318) 评论(0) 推荐(0) 编辑

chrome 插件备忘
摘要:## 主题 1. https://chrome.google.com/webstore/detail/light-theme-for-google-ch/macolkedjdbklefnogmlebabkakpcacg 阅读全文

posted @ 2023-06-05 16:41 正义的伙伴! 阅读(13) 评论(0) 推荐(0) 编辑

js 动态添加样式
摘要:```js // 添加 css 脚本 export const loadStyle = url => { const link = document.createElement('link'); link.type = 'text/css'; link.rel = 'stylesheet'; lin 阅读全文

posted @ 2023-06-03 12:25 正义的伙伴! 阅读(210) 评论(0) 推荐(0) 编辑

package.json scripts 备忘
摘要:## 传参 ```sh ## -- 后面跟参数 ## 参考 https://stackoverflow.com/questions/11580961/sending-command-line-arguments-to-npm-script npm run pack -- -i ``` 阅读全文

posted @ 2023-06-01 17:38 正义的伙伴! 阅读(8) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
//增加一段JS脚本,为目录生成使用
点击右上角即可分享
微信分享提示