VUE解决 No 'Access-Control-Allow-Origin' header is present on the requested resource 问题
get_list: function() {this.$http.jsonp('http://localhost/fdsfsd/index.php?s=/Home/Index/get_list', {}, {headers: {},emulateJSON: true}).then((response) => {//处理数据...
·
get_list: function() {
this.$http.jsonp('http://localhost/fdsfsd/index.php?s=/Home/Index/get_list', {}, {
headers: {},
emulateJSON: true
}).then((response) => {
//处理数据
});
}
更多推荐
已为社区贡献2条内容
所有评论(0)