vue生态技术axios
# axios
axios({
method:'method',
url:'url',
data:{
xxx:xxx
},
params:{
xxx:xxx
}
}).then(res=>{
console.log(res.data)
}).catch(err=>{
console.log(err)
})
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
编辑 (opens new window)
上次更新: 2023/02/07, 15:11:55