1、播放视频时,出现如下错误
Error: Component is not found in path “plugin://tencentvideo/video” (using by “pages/video/video”)
解决方法:未配置本项目使用的插件,在app.json文件加入插件引入配置
"plugins": {
"tencentvideo": {
"version": "1.3.6",
"provider": "wxa75efa648b6078qa"
}
}
2、域名配置出错
解决方法
3、本地加载图片失败: Failed to load local image resource /pages/XXX/,the server responded with a status of 500 (HTTP/1.1 500 Internal Server Error)
解决方法:图片路径配置错误,如将image:“images/index.jpg"改成image:”/images/index.jpg"