后台返回json格式转化为可视化对象格式方法


 console.log('转换之前', res);
  console.log('转换之后', JSON.parse(res.data)); 使用:JSON.parse(需要转化的数据);

相关