Axios异步通信
概念
环境导入
不想下载了 直接用在线的。
简单例子
编写一个data.json
{
"name": "jie",
"url": "https://www.cnblogs.com/OfflineBoy/",
"address": {
"street": "火星",
"city": "非洲城",
"country": "不知道"
},
"links":[
{"name": "MyBlog",
"url": "https://www.cnblogs.com/OfflineBoy/"},
{"name": "百度",
"url": "https://www.baidu.com/"}
]
}
获得数据代码:
Title