代码拉取完成,页面将自动刷新
现象:如果没有在集合里添加smallTechnology_config,则会在打开下图的页面时报错如下:
{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"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.;
在代码里搜一下这个集合的名字, adminService这个云函数的代码里用到了这个集合7次。所以需要在云数据库里加上这个集合。
报错的两个页面,【首页-标签】和【专题】两个页面: