Now I handle is offline for reconnection location directly. Reload (); Refresh the page
CodePudding user response:
I use 2.2.3 cocos2d - js, this version of the Loader is that whether can get download failed, but there is no failure callback, and download to join in the list of all address to download it once, you need to modify CCLoader this file, add the callback in failure branch, don't know which version you use, you can go to look at you this version of the download method is how to implement,Of course, restart is actually a solution (although not very well), because the browser is a cache, your resource files can be obtained by caching,