// GET请求示例
 axios.get(‘http://127.0.0.1:5005/ReadIDCardInfo’) // 将URL替换为真正的API接口地址
 .then(response => {
 if(response.data.code==1){
 var jsonData=response.data.data;
 console.log(jsonData); // 输出从API接口返回的数据
 }
 })
 .catch(error => {
 console.error(error); // 打印错误信息
 });
以下就是获取的数据
 