axios中put请求用法

2019-03-12  本文已影响0人  有你才精彩XX

其中api是使用vue时配置的跨域

axios.put('api/xxx/xxx',

{"baseNo":"WC0001","manSurplus":"1","womemSurplus":"2","temperature":"3","humidity":"4"})

.then(response => (

console.log(response)

))

上一篇 下一篇

猜你喜欢

热点阅读