摘要: html文件头写成了text/plain, 改成 response.writeHead(200, {“Content-Type”: “text/html”}); 原回答网址:http://cnodejs.org/topic/51fb840744e76d216aa20f25 阅读全文
posted @ 2017-10-08 13:13 Kate_Lee 阅读(593) 评论(0) 推荐(0) 编辑
摘要: nodejs实战学习 阅读全文
posted @ 2017-10-07 14:55 Kate_Lee 阅读(452) 评论(0) 推荐(0) 编辑
摘要: react生成的表单,input输入不了内容,经百度后,发现react生成的表单如果要重新渲染其中的value应该改变state才会重新渲染,所以要给input绑定onChange事件 阅读全文
posted @ 2017-09-26 11:20 Kate_Lee 阅读(1919) 评论(0) 推荐(0) 编辑
摘要: 15: 1,3,5 16: 1,2,4,8 24: 1,2,3,4,6,8,12(15构成了24的奇数部分,15构成了偶数部分'') 然后,15*16 = 240 阅读全文
posted @ 2017-09-24 17:01 Kate_Lee 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 使用js触发事件 阅读全文
posted @ 2017-09-24 10:53 Kate_Lee 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 有关let,function在块级作用域中不同的表现,以及变量提升问题 阅读全文
posted @ 2017-09-15 19:27 Kate_Lee 阅读(363) 评论(0) 推荐(0) 编辑
摘要: threejs显示文字问题 阅读全文
posted @ 2017-09-15 11:30 Kate_Lee 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 你不知道的JavaScript,第一章作用域学习笔记 阅读全文
posted @ 2017-09-11 20:36 Kate_Lee 阅读(109) 评论(0) 推荐(0) 编辑
摘要: thinkjs学习-this.assign传递数据和ajax调用后台接口 阅读全文
posted @ 2017-09-03 11:16 Kate_Lee 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 采用thinkjs框架写前后端 说明:async: false, cache: false, contentType: false, processData: false,需要写上去。 此外,formdata对象中表单各项对应的值,要使用其自身get方法查看。 eg:data.get('file') 阅读全文
posted @ 2017-08-23 15:51 Kate_Lee 阅读(3139) 评论(0) 推荐(1) 编辑