摘要: Git 提交信息中加前缀,用于描述提交的类型和目的。 1.chore 表示日常维护任务或与功能无关的代码更改,例如:- 更新依赖项- 修复构建脚本- 清理代码格式- 调整配置文件 2.feat 表示新增功能或特性,通常是对代码库的功能性扩展,例如:- 添加新功能- 实现新模块- 引入新 API 3. 阅读全文
posted @ 2025-03-28 16:21 霓裳依旧 阅读(2) 评论(0) 推荐(0) 编辑
摘要: overflow:scroll和auto overflow: scroll 将隐藏所有溢出的内容并使滚动条出现在相关元素上。如果内容没有溢出,滚动条始终可见,但被禁用 overflow: auto 非常相似,但滚动条仅在内容溢出时出现 阅读全文
posted @ 2024-11-12 09:52 霓裳依旧 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 1. justify-content: space-evenly;兼容性处理 justify-content: space-evenly;在IE11中不生效,替换为 justify-content: space-between; &:before, &:after { content: ''; di 阅读全文
posted @ 2023-12-26 15:25 霓裳依旧 阅读(178) 评论(0) 推荐(0) 编辑
摘要: CSS文字换行之word-wrap和word-break的区别 word-wrap:break-word; word-break:break-all; 这两种都可以,区别在于英文场景中如果行末有一个很长的英文单词,word-wrap:break-word会整体换行,word-break:break- 阅读全文
posted @ 2023-06-29 10:21 霓裳依旧 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 关于let和var在setTimeout中的输出问题 阅读全文
posted @ 2023-03-17 15:49 霓裳依旧 阅读(20) 评论(0) 推荐(0) 编辑
摘要: this.$route.query和this.$route.params的正确使用 阅读全文
posted @ 2023-03-14 17:08 霓裳依旧 阅读(25) 评论(0) 推荐(0) 编辑
摘要: Math.round()方法 js之toFixed()四舍五入丢失精度的问题解决 js保留两位小数方法总结 keepTwoDecimal (num) { const result = Math.round(num * 100) / 100 return result } 阅读全文
posted @ 2023-01-17 10:57 霓裳依旧 阅读(69) 评论(0) 推荐(0) 编辑
摘要: npm修改源地址,使用nrm管理源仓库地址 阅读全文
posted @ 2023-01-05 17:12 霓裳依旧 阅读(36) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_39510813/article/details/123718363 https://blog.csdn.net/bill1315/article/details/123905386 https://blog.csdn.net/renhui1 阅读全文
posted @ 2022-10-24 18:39 霓裳依旧 阅读(30) 评论(0) 推荐(0) 编辑
摘要: axios get请求特殊字符编码问题 Axios中的参数为啥没被完全编码 起因:接口要求传orders%5B0%5D.property=modifiedDate(参数名是orders[0].property,用swagger查看传的就是前面这种编码的) 尝试: let req = { 'order 阅读全文
posted @ 2022-07-19 17:06 霓裳依旧 阅读(1420) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示