报错
来源:3-1 轮播图组件swiper

ProfessorFu
2019-12-10
截止第7章,代码有部分copy了源码,但还是报错了,一个是:VM47 WAService.js:1 Uncaught (in promise) 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.另一个是:VM47 WAService.js:1 Uncaught (in promise) Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID , cloud function service error code -504002, error message Function not found: [login]; at cloud.callFunction api;主要是在处理历史播放记录时开始报错,点击歌曲会出现报错:Uncaught (in promise) TypeError: Cannot read property ‘length’ of undefined。之后把所有代码换成老师的源码,轮播图也开始消失,点击其他页面会闪过图片大小。
2回答
-
当前要操作哪个集合,就要数据库中先有这个集合
052019-12-17 -
谢成
2019-12-11
对应的数据库集合不存在,请手动在云控制台创建
032019-12-12
相似问题