开源微信小游戏排行榜代码示例程序(可直接使用)

子域排行榜mark

感谢分享学习了

在微信开发者工具 展示开放域内容 切换场景后 再次展示开放域内容 会报如下错误,有人遇到吗?怎么解决呢?

VM13:1 MiniProgramError
Cannot read property ‘debug’ of undefined
TypeError: Cannot read property ‘debug’ of undefined
at window.boot (http://127.0.0.1:32048/game/open-data-project/main.js:21:25)
at Function. (http://127.0.0.1:32048/game/open-data-project/adapter-min.js:1928:52)
at P. (http://127.0.0.1:32048/game/dev/WAGameSubContext.js:2:153071)
at P.emit (http://127.0.0.1:32048/game/dev/WAGameSubContext.js:2:115853)
at http://127.0.0.1:32048/game/dev/WAGameSubContext.js:2:121289
at Object.subscribeHandler (http://127.0.0.1:32048/game/dev/WAGameSubContext.js:2:89752)
at http://127.0.0.1:32048/game/dev/WAGame.js:2:104190
at Array.forEach ()
at Object.publish (http://127.0.0.1:32048/game/dev/WAGame.js:2:104154)
at l.value (http://127.0.0.1:32048/game/dev/WAGame.js:2:473258)

多谢多谢 一直在想这个东西怎么弄的