上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 32 下一页
摘要: 1. nginx.conf location /xxxxxx-xxx/ { proxy_pass http://xxx.xx.xx.xxx:xxx; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Rea 阅读全文
posted @ 2021-02-23 11:11 一路向北√ 阅读(49) 评论(0) 推荐(0) 编辑
摘要: CodeMirror是使用JavaScript为浏览器实现的多功能文本编辑器。它专门用于编辑代码,并具有100多种语言模式和各种插件,可实现更高级的编辑功能。每种语言都带有功能齐全的代码和语法高亮显示,以帮助阅读和编辑复杂代码。 丰富的编程API和CSS主题系统可用于自定义CodeMirror以适合 阅读全文
posted @ 2021-02-23 09:58 一路向北√ 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 注意: 直接 new Date('2021-02-04') 是正常的,但是要和时间放一起的话,就要求固定格式。 解决方法: a.replace('-','/') a.replace(/-/g,'/') 阅读全文
posted @ 2021-02-05 10:11 一路向北√ 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-02-05 09:47 一路向北√ 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 布局: 采用vw加rem方式 给根元素html 设置font-size 为 100 * 100 / 1920(设计稿宽度)vw let autoAdaptive = 10000 / 1920; document.documentElement.style.fontSize = autoAdaptiv 阅读全文
posted @ 2021-02-04 23:27 一路向北√ 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 在mac设备运行一段时间后,电脑空间很小了,对于开发者来说,清清Xcode缓存,腾出几十G的空间还是有可能的。在升级Xcode适配新系统、新手机也是得给电脑减减压。 一、Xcode缓存文件(com.apple.dt.Xcode) 选删必要性:重新运行时候,再次生成,在安装新版Xcode时,还是删了吧 阅读全文
posted @ 2021-02-02 09:34 一路向北√ 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 问题1: 组件的请求没带Cookie 导致服务器500原因:组件上的请求方法不能自己定义请求头。 解决办法: 直接在请求的url地址后面加上?token='' 这个token是和后台规定好的令牌 阅读全文
posted @ 2021-01-12 17:54 一路向北√ 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 通用 缩进两个空格 等号两边留有空格 文件名为 my-component 组件名 React 文件名:帕斯卡命名 MyComponents ESlint <Foo superLongParam="bar" anotherSuperLongParam="baz" /> <Foo bar="bar" / 阅读全文
posted @ 2021-01-12 00:14 一路向北√ 阅读(155) 评论(0) 推荐(0) 编辑
摘要: API: 1. 查询SVG d3.select('#abc') 查询id是abc的元素 2. 查询SVG d3.selectAll('.abc' ) 查询所有class是abc的元素 常见属性: id、class(特殊的属性,可以使用.attr设置) x、y、cx、cy fill、stroke(特殊 阅读全文
posted @ 2021-01-03 22:31 一路向北√ 阅读(72) 评论(0) 推荐(0) 编辑
摘要: COOKIE获取有问题,CordHttp 插件 阅读全文
posted @ 2020-12-24 19:17 一路向北√ 阅读(80) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 32 下一页

web应用开发&研究 -

业精于勤而荒于嬉。

工作,使我快乐。


Font Awesome | Respond.js | Bootstrap中文网