Skip to content

Commit

Permalink
添加请求第三方库axios(用于向后端发送请求)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panyue-genkiyo committed Oct 9, 2021
1 parent 4a93c60 commit 4877165
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"dependencies": {
"animate.css": "^4.1.1",
"axios": "^0.22.0",
"core-js": "^3.6.5",
"nanoid": "^3.1.25",
"pubsub-js": "^1.9.3",
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1841,6 +1841,13 @@
"resolved" "https://registry.nlark.com/aws4/download/aws4-1.11.0.tgz"
"version" "1.11.0"

"axios@^0.22.0":
"integrity" "sha1-v3AsQftQ+8pFOVidg5oHcRe3myU="
"resolved" "https://registry.npmmirror.com/axios/download/axios-0.22.0.tgz"
"version" "0.22.0"
dependencies:
"follow-redirects" "^1.14.4"

"babel-eslint@^10.1.0":
"integrity" "sha1-aWjlaKkQt4+zd5zdi2rC9HmUMjI="
"resolved" "https://registry.nlark.com/babel-eslint/download/babel-eslint-10.1.0.tgz"
Expand Down Expand Up @@ -3966,7 +3973,7 @@
"inherits" "^2.0.3"
"readable-stream" "^2.3.6"

"follow-redirects@^1.0.0":
"follow-redirects@^1.0.0", "follow-redirects@^1.14.4":
"integrity" "sha1-g4/fSKi73XnlLuUfsclOPtmLk3k="
"resolved" "https://registry.nlark.com/follow-redirects/download/follow-redirects-1.14.4.tgz?cache=0&sync_timestamp=1631622129411&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.14.4.tgz"
"version" "1.14.4"
Expand Down

0 comments on commit 4877165

Please sign in to comment.