远程,那个大神能排个bug啊,快疯了

内容是关于日程管理,后台代码用json返回前端格式
{"events":[["1541679033898","fhfgjhfd","Nov 8, 2018 6:00:00 PM","Nov 8, 2018 7:00:00 PM",0,0,0,1,1,"",""],["1541682377876","ghfgx","Nov 6, 2018 5:30:00 PM","Nov 6, 2018 6:30:00 PM",0,0,0,1,1,"",""],["1541682386358","hrthtrf","Nov 5, 2018 9:00:00 PM","Nov 5, 2018 10:00:00 PM",0,0,0,1,1,"",""],["1541668928715","dvdsvds","Nov 6, 2018 2:30:00 PM","Nov 6, 2018 3:30:00 PM",0,0,0,1,1,"",""],["1541674887757","恢复规划法规","Nov 7, 2018 9:30:00 AM","Nov 7, 2018 10:30:00 AM",0,0,0,1,1,"",""],["1541681312754","fjgfj","Nov 5, 2018 6:30:00 PM","Nov 5, 2018 7:30:00 PM",0,0,0,1,1,"",""],["1541682239226","djdfgj","Nov 7, 2018 6:30:00 PM","Nov 7, 2018 7:30:00 PM",0,0,0,1,1,"",""],["1541682222683","rthftdjh","Nov 5, 2018 5:30:00 PM","Nov 5, 2018 6:30:00 PM",0,0,0,1,1,"",""],["1541682231431","fdjfgd","Nov 6, 2018 6:30:00 PM","Nov 6, 2018 7:30:00 PM",0,0,0,1,1,"",""],["1541728498590","ghkghk","Nov 5, 2018 5:00:00 AM","Nov 5, 2018 6:00:00 AM",0,0,0,1,1,"",""]],"issort":true,"start":"2018-11-05 00:00","end":"2018-11-11 00:00","error":null}
前端页面是百度出来别人已经写好的,页面有开发文档https://my.oschina.net/redhu/blog/136805

目前问题是后台给前端数据后前端页面不能显示出来,需要排除JavaScript里的错误

-3

3个回答

谁能帮忙排错!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-4

日期格式都不一样,是不是需要转换一下

0
qq_42887005
qq_42887005 我是刚毕业新人,页面手写???
10 个月之前 回复
baidu_34024622
Mr.Guoguo 回复qq_42887005: 直接页面手写数据,先确保数据格式没问题
10 个月之前 回复
qq_42887005
qq_42887005 如果愿意帮忙处理的,能不能加个qq 1758512385
10 个月之前 回复
qq_42887005
qq_42887005 不知道怎么转换,前面的日期是数据库里查询出来的,前端报错后,我通过谷歌开发者的sources已经修改了部分代码,添加了var a=new date(),但是还是有地方报错
10 个月之前 回复

前端不能显示,你再前端页面打开调试看啊,看后台接口有没有返回,又返回在JS打断点看JS怎么处理的,看哪一步报错的。你现在最大的问题是不会调试代码

0
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!

相似问题