请问你的问题解决了吗? 我也遇到了一样的问题,开发工具调试没问题,一到真机调试就提示找不到数据库资源
预览和真机调试无法访问数据库,部分出现白屏,反馈不存在数据库问题?(补全问题)1、云开发,前期上线运行正常,近期突然出现无法访问云数据库,部分手机无法显示动态数据,部分手机出现白屏;真机调试发现反馈问题如下: Error: errCode: -502005 database collection not exists | errMsg: [ResourceNotFound] Db or Table not exist. Please check your request, but if the problem cannot be solved, contact us. at new g (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:1198466) at Function.success (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:1338509) at C (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:121166) at Object.eval [as success] (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:121991) at B (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:1846082) at B (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:1846320) at eval (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:1847759) at Object.C (eval at n.call.document (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8794), <anonymous>:2:77573) at u (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:8529) at w (http://127.0.0.1:63383/remote-debug/runtime.js?devtools_ignore=true:1:17724) 2、数据库本身无问题,数据库权限无问题,小程序工具测试无问题,能够正常显示和调用云数据库数据; 3、环境设置正常,云函数环境设置正常。 [图片] [图片] 弄了很久也看了很多网上材料,还是没有解决,求各路大侠指点!不胜感激!
2021-03-22