获取不到res.data下的data解决方法

其实很简单,只需要:

   //  转为JSON格式
                      let JSONresult=JSON.parse(res.data)
                       console.log(JSONresult.data)

这样就可以了

猜你喜欢

转载自blog.csdn.net/wsxDream/article/details/113986623
今日推荐