其中api是使用vue时配置的跨域
axios.put('api/xxx/xxx',
{"baseNo":"WC0001","manSurplus":"1","womemSurplus":"2","temperature":"3","humidity":"4"})
.then(response => (
console.log(response)
))
其中api是使用vue时配置的跨域
axios.put('api/xxx/xxx',
{"baseNo":"WC0001","manSurplus":"1","womemSurplus":"2","temperature":"3","humidity":"4"})
.then(response => (
console.log(response)
))
本文标题:axios中put请求用法
本文链接:https://www.haomeiwen.com/subject/hingpqtx.html
网友评论