We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 051cc70 commit 0975636Copy full SHA for 0975636
1 file changed
08-前端框架/06-vue/18-http请求&axios/main.js
@@ -3,6 +3,8 @@ import App from './components/app.vue';
3
4
import Axios from 'axios';
5
6
+// npm i axios -S
7
+//
8
// options: headers、baseURL、params
9
// 默认全局设置
10
Axios.defaults.baseURL = 'http://www.csxiaoyao.com/api/';
0 commit comments