03 2022 档案

摘要:function getCaption(obj, text){ let index = obj.lastIndexOf(text) + text.length-1; obj = obj.substring(index+1,obj.length); return obj; } let str=" 执法 阅读全文
posted @ 2022-03-30 14:17 PromiseOne 阅读(3111) 评论(0) 推荐(0) 编辑
摘要:产生原因:文件响应头内容类型错误 解决方案:设置对应的响应头内容类型 const http = require('http'); const fs = require('fs'); const path = require('path'); http.createServer((req, res) 阅读全文
posted @ 2022-03-01 16:05 PromiseOne 阅读(333) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示