八、向服务器发送请求

1、全局配置数据接口的根域名

2、v-resource

获取数据时候在created()生命周期钩子函数中添加

猜你喜欢

转载自blog.csdn.net/qq_36763293/article/details/85005675