摘要: 1. justify-content: space-evenly;兼容性处理 justify-content: space-evenly;在IE11中不生效,替换为 justify-content: space-between; &:before, &:after { content: ''; di 阅读全文
posted @ 2023-12-26 15:25 霓裳依旧 阅读(94) 评论(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 霓裳依旧 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 关于let和var在setTimeout中的输出问题 阅读全文
posted @ 2023-03-17 15:49 霓裳依旧 阅读(13) 评论(0) 推荐(0) 编辑
摘要: this.$route.query和this.$route.params的正确使用 阅读全文
posted @ 2023-03-14 17:08 霓裳依旧 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Math.round()方法 js之toFixed()四舍五入丢失精度的问题解决 js保留两位小数方法总结 keepTwoDecimal (num) { const result = Math.round(num * 100) / 100 return result } 阅读全文
posted @ 2023-01-17 10:57 霓裳依旧 阅读(51) 评论(0) 推荐(0) 编辑
摘要: npm修改源地址,使用nrm管理源仓库地址 阅读全文
posted @ 2023-01-05 17:12 霓裳依旧 阅读(26) 评论(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 霓裳依旧 阅读(11) 评论(0) 推荐(0) 编辑
摘要: axios get请求特殊字符编码问题 Axios中的参数为啥没被完全编码 起因:接口要求传orders%5B0%5D.property=modifiedDate(参数名是orders[0].property,用swagger查看传的就是前面这种编码的) 尝试: let req = { 'order 阅读全文
posted @ 2022-07-19 17:06 霓裳依旧 阅读(1337) 评论(0) 推荐(0) 编辑
摘要: https://www.baidu.com/login?a=b#part2 BOM相关知识总结 BOM全称Browser Object Model,即浏览器对象模型,主要处理浏览器窗口和框架。 由于BOM的window包含了document,window对象的属性和方法是直接可以使用而且被感知的,因 阅读全文
posted @ 2022-05-01 15:51 霓裳依旧 阅读(23) 评论(0) 推荐(0) 编辑
摘要: es6的新语法fetch fetch是一种HTTP数据请求的方式,是XMLHttpRequest的一种替代方案。不过fetch新语法可不是Ajax的进一步封装,而是原生JS。原生就是不需要引入。 fetch新语法是基于Promise来实现的,支持async和await。 阅读全文
posted @ 2022-04-25 16:51 霓裳依旧 阅读(239) 评论(0) 推荐(0) 编辑