vue-resource的使用笔记
余温
2017年08月26日 11时20分
web
在使用这个插件之前,当然是先安装啦:
安装读条完毕,接下来便是在项目中引入:
this.$http.get('/api/seller').then((response) => { response=response.body;//body后面没有括号 if (response.error===0){ this.seller=response.data; } });
上一篇:
CSS3的REM设置字体大小
下一篇:
tgp下载加速
请登陆后评论
{{vo.time}} 回复