wangxiaoyao
wangxiaoyao
follow is my code . ``` addImages: function(photo_name, photo_path, status){ Vue.http.options.emulateJSON = true; console.log(photo_name,photo_path,status); this.$http.post(this.postImagesUrl, { pic_name : photo_name, pic_path : photo_path, status : status }, {headers : {'Content-Type': 'application/x-www-form-urlencoded'...
``` this.$http.delete(this.deleteProductUrl, { ids: goodsId }, { "Content-Type": "application/x-www-form-urlencoded" }, { emulateJSON: true }).then((response) => { alert(response.data.reason) }) ``` 但是在控制台查看头部信息:  怎样使用参数请选择 body(主体) x-www-form-urlencoded 进行传递参数?
首先感谢楼主的分享: 然后我几乎是把你的路由系列的demo1 照搬下来。出现了这样的错误, `router.start()/router.map() is not a function ` 即所有的方法都不能用 该怎么解决,谢谢