
前端
Y_Hungry
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nodejs 16版本
Index of /download/release/latest-v16.x/原创 2023-10-09 17:30:00 · 580 阅读 · 0 评论 -
部署renren-fast-vue前台遇到的跨域问题
1.后台默认的Dockerfile不要动,去打包2.#PROXY-START/apilocation ^~ /api/{ proxy_pass http://xxx.xxx.xxx.xxx:88; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;原创 2022-01-19 14:08:18 · 1128 阅读 · 0 评论 -
VScode 自定义代码片段http代码模版
1.code-->首选项--->用片段2 .新建片段3.写入下面内容"http-get请求": { "prefix": "httpget", "body": [ "this.\\$http({", "url: this.\\$http.adornUrl(''),", "method: 'get',", "params: this.\\$http.adornParams({})", "}).then(({data}) => {", .原创 2022-01-03 11:17:28 · 574 阅读 · 0 评论 -
vscode 配置Eslint检查
下配置下面代码 "vetur.format.defaultFormatter.js": "vscode-typescript", "eslint.validate": [ "javascript", "javascriptreact", "vue" ], "editor.codeActionsOnSave":{ "source.fixAll.eslint":true },然后就是保存就会...原创 2022-01-02 11:38:15 · 343 阅读 · 0 评论 -
运行人人开源renren-fast-vue报错
下载运行npm install报一堆错,后来使用cnpm解决此问题原创 2021-12-25 15:51:00 · 505 阅读 · 0 评论 -
微信小程序之RequestTask.onHeadersReceived 302的时候无法监听
用get不能正确解析locationpost可以对于302状态微信小程序没有很好的解决办法,请求大概率会返回200,在服务器用python做完之后,返回最终地址,是一个不错的解决方案a开头的是返回302,其他的是200状态302状态会有个Response Headers 里会有个location的成员。就是跳转的最终地址http状态码解释3xx (重定向)重定向代码,也是常见的代码300(多种选择)针对请求,服务器可执行多种操作。 服务器可根据请...原创 2021-03-05 14:33:14 · 4221 阅读 · 0 评论