项目中请求的封装和使用
2017-11-26 本文已影响5人
Gopal
this.$http({
method: 'POST',
url: 'get_repo_summary',
data: {
repository_name: repositoryName
}
}).then((data) => {
let content = compile(data.data)
})
this.$http({
method: 'POST',
url: 'get_repo_summary',
data: {
repository_name: repositoryName
}
}).then((data) => {
let content = compile(data.data)
})