我这里这个img就可以正常显示图片,title就是拿不到数据,是哪里的问题呢
初学者想问一下为什么同样从接口里拿到的数据有的可以显示有的不行?Beginners would like to ask why some of the data obtained from the interface can be displayed and some cannot?
初学者想问一下为什么同样从接口里拿到的数据有的可以显示有的不行?我这里这个img就可以正常显示图片,title就是拿不到数据,是哪里的问题呢
The IMG here can display pictures normally. The title just can't get the data. What's the problem
回答:
打印出来的数据是这样的
res打印出来是什么样的?
打印下数据看看!