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)
                })
相关文章
相关标签/搜索