上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页
摘要: ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200623185633124-993605079.png) ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200623221157569-534548509.png) 阅读全文
posted @ 2020-06-23 21:35 17135131xjt 阅读(163) 评论(0) 推荐(0) 编辑
摘要: form 表单的 action 属性bai用来指定表单提交du数据时zhi所指向的地址,规定当提交表单时向何处发送表dao单数据。地址可以是绝对地址,也可以是相对地址。当 action 留空或者未设置时,默认指定当前页面所在的地址,并且向当前页面提交数据。 阅读全文
posted @ 2020-06-23 12:08 17135131xjt 阅读(171) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200623101704834-610737666.png) 阅读全文
posted @ 2020-06-23 10:17 17135131xjt 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2020-06-20 14:42 17135131xjt 阅读(131) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200620144157832-668518194.png) ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200620122227411-982499619.png) ![](https://im 阅读全文
posted @ 2020-06-20 14:32 17135131xjt 阅读(138) 评论(0) 推荐(0) 编辑
摘要: // node中 专门提供了一个核心模块:http // http这个模块的职责就是帮你创建编写服务器 // 1、加载 http核心模块 var http = require('http'); // 2、使用createServer()方法创建一个web服务器 // 返回一个Server实例 var 阅读全文
posted @ 2020-06-19 19:31 17135131xjt 阅读(183) 评论(0) 推荐(0) 编辑
摘要: ###node环境下读文件 读文件时,需要读数据,所以function的参数中不仅有error还有data,如果读取失败,data为udfind,这时data.toString()毫无意义会报错 所以可以加入判断,如果error(error时,打印error输出报错对象)则打印读取失败并且跳出,不然 阅读全文
posted @ 2020-06-19 17:40 17135131xjt 阅读(141) 评论(0) 推荐(0) 编辑
摘要: var fs = require('fs'); fs.readFile('a.txt', function (error, data) { console.log(data.toString()); }) 阅读全文
posted @ 2020-06-19 14:47 17135131xjt 阅读(285) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200619132004380-247143571.png) 阅读全文
posted @ 2020-06-19 14:24 17135131xjt 阅读(209) 评论(0) 推荐(1) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1968139/202006/1968139-20200618184547526-1622588654.png) 阅读全文
posted @ 2020-06-18 22:29 17135131xjt 阅读(75) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 21 下一页