Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Commit 3dc361e

Browse files
author
renl
committed
add axios
1 parent 24de08a commit 3dc361e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/App.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default {
2626
}
2727
},
2828
setup(props, context) {
29+
// 不需要修改content-type, axios会根据data数据格式自动添加
2930
// const formData = new FormData()
3031
const formData = 'name=renl'
3132
// formData.append('name', 'renl')

0 commit comments

Comments
 (0)