xhr报空了,什么问题?

这是客户端的代码

这个是服务端代码

执行时候报空


请问哪位大佬能指点一下!

已经找到办法了!var xhr = cc.loader.getXMLHttpRequest();缺了一句