axios提交

axios.post('/cancellation_msg_getnum',
                    {msg:msg},
                    {headers:{"Content-Type":'application/x-www-form-urlencoded;charset=UTF-8'}}
                ).then(function(res){
                    console.log(res.data.res)
                    that.res = res.data.res
                }).catch(function(err){
                    console.log(err)
                })
相關文章
相關標籤/搜索