Skip to content

Commit

Permalink
style: update code and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmdapl committed Oct 28, 2024
1 parent cf3f012 commit c0eac80
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions docs/server-end/node-learn/axios.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ axios(options)
以Form data格式发送数据时,可以做如下处理:

```js
const Buffer = require('node:buffer')
const FormData = require('form-data')

const form = new FormData()
Expand Down
6 changes: 4 additions & 2 deletions docs/server-end/node-learn/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@ permalink: /server-end/node-learn/stream.html
**依赖**

```json
{
"dependencies": {
"@types/axios": "^0.14.0",
"axios": "^1.2.2",
"express": "^4.18.2",
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.15",
"@types/node": "^18.11.18",
"@types/node": "^18.11.18"
}
}
```

**服务端**
Expand Down
3 changes: 1 addition & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ export default defineVipEslintConfig({
ignores: [
'**/CHANGELOG.md',
],
rules: {
},
rules: {},
})

0 comments on commit c0eac80

Please sign in to comment.