后台实现分页,将JSON对象传给前台,为什么只有第一个显示,其他的都不显示。。
为什么只有0:显示完整的关联school的信息。其他的不完整呢?
PHP中文网2017-04-18 10:21:56
Because there is only 0
的school
是一个对象,后面的都是一个值2
, there is a problem with the data, check the data returned by the background.
PHP中文网2017-04-18 10:21:56
No matter how you look at it, it looks like there is a problem with the code writing. You can use dug to troubleshoot the problem. Looking at the data directly cannot answer your question
高洛峰2017-04-18 10:21:56
Look at the Chinese garbled characters, which method is used to return in the background? Just printwrite and see out.flush memory leak
迷茫2017-04-18 10:21:56
Check the json returned by the background. The format of the first one is different from the following ones. The problem should be in the json data returned by the background.