上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页
摘要: test test1 test2 test3 test4 test5 test6 test7 test8 test9 阅读全文
posted @ 2023-09-15 14:18 Syinho 阅读(30) 评论(7) 推荐(0)
摘要: 在博客园的请求/ajax/GetPostStat中, 发现这个post请求发送的是一个数组 export const reqGetArticleCountData = id => instance.post('/ajax/GetPostStat', { data: JSON.stringify([i 阅读全文
posted @ 2023-09-15 04:44 Syinho 阅读(74) 评论(0) 推荐(0)
摘要: 安装 npm install --save-dev http-proxy-middleware 代理中间件配置 createProxyMiddleware([context,] config) const { createProxyMiddleware } = require('http-proxy 阅读全文
posted @ 2023-09-14 01:21 Syinho 阅读(1080) 评论(0) 推荐(0)
摘要: 打开 D:\test\html 目录 start D:\test\html explorer D:\test\html start命令与explorer命令的不同 explorer可以通过explorer ./ 命令打开当前路径目录的图形化界面, start ./ 则会报错 阅读全文
posted @ 2023-09-13 00:07 Syinho 阅读(92) 评论(88) 推荐(1)
摘要: node.js的HTTP请求记录器中间件 基本使用 morgan(format,options) 使用预定义的格式字符串 morgan('tiny') 使用预定义令牌的格式字符串 morgan(':method :url :status :res[content-length] - :respons 阅读全文
posted @ 2023-09-12 00:35 Syinho 阅读(91) 评论(0) 推荐(0)
摘要: 首先使用ipconfig/all确定自己的ip地址 再使用for /L %i IN (1,1,254) DO ping -w 2 -n 1 192.168.0.%i命令轮询局域网内的所有可访问的ip地址, 注意根据自己的ip地址修改这条命令的轮询地址占位 轮询结束, 使用arp -a命令获取轮询结果 阅读全文
posted @ 2023-09-12 00:33 Syinho 阅读(230) 评论(1) 推荐(0)
摘要: 错误原因: 禁止在条件语句中出现赋值操作符(no-cond-assign). 我在while()循环语句循环条件中写入了赋值代码 while(articleIdArrRes=reg_articleId.exec(str)){ data.articleIdArr.push(articleIdArrRe 阅读全文
posted @ 2023-09-12 00:32 Syinho 阅读(62) 评论(0) 推荐(0)
摘要: - node.js的HTTP请求记录器中间件 ### 基本使用 - ``` morgan(format,options) ``` - 使用预定义的格式字符串 - ```js morgan('tiny') ``` - 使用预定义令牌的格式字符串 - ```js morgan(':method :url 阅读全文
posted @ 2023-09-08 00:03 Syinho 阅读(110) 评论(0) 推荐(0)
摘要: ### 安装 ``` npm install -g express-generator ``` ### 创建一个脚手架 ``` express --no-view express_generator ``` - 如上代码, 在当前目录下的expresss_generator目录创建一个应用 ### 阅读全文
posted @ 2023-09-06 16:00 Syinho 阅读(169) 评论(0) 推荐(0)
摘要: ### 安装 - ``` npm install -g live-server ``` ### 启用 - 直接在命令行输入`live-server`命令便可以启动本地服务器, 它会在当前文件夹下的任何文件(css文件除外)被修改时自动刷新当前打开的页面( 无论该文件是否被当前页面所依赖 ) - cs 阅读全文
posted @ 2023-09-05 23:50 Syinho 阅读(3044) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页