2***@qq.com
2***@qq.com
  • 发布:2023-01-13 10:01
  • 更新:2023-01-13 21:54
  • 阅读:367

【报Bug】page.json 配置微信直播插件后 微信开发者工具上传报错

分类:uni-app

产品分类: uniapp/小程序/微信

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10 22H2

HBuilderX类型: 正式

HBuilderX版本号: 3.6.17

第三方开发者工具版本号: 1.06.2210310

基础库版本号: 2.25.2

项目创建方式: HBuilderX

示例代码:
{  
        "root": "pages/live",  
        "name": "live",  
        "pages": [{  
            "path": "index/index",  
            "style": {  
                "mp-weixin": {  
                    "usingSwanComponents": {  
                        "live-player-plugin": "plugin://live-player-plugin"  
                    }  
                }  
            }  
        }]  
    }

操作步骤:
{  
        "root": "pages/live",  
        "name": "live",  
        "pages": [{  
            "path": "index/index",  
            "style": {  
                "mp-weixin": {  
                    "usingSwanComponents": {  
                        "live-player-plugin": "plugin://live-player-plugin"  
                    }  
                }  
            }  
        }]  
    }

预期结果:
{  
        "root": "pages/live",  
        "name": "live",  
        "pages": [{  
            "path": "index/index",  
            "style": {  
                "mp-weixin": {  
                    "usingSwanComponents": {  
                        "live-player-plugin": "plugin://live-player-plugin"  
                    }  
                }  
            }  
        }]  
    }

实际结果:
{  
        "root": "pages/live",  
        "name": "live",  
        "pages": [{  
            "path": "index/index",  
            "style": {  
                "mp-weixin": {  
                    "usingSwanComponents": {  
                        "live-player-plugin": "plugin://live-player-plugin"  
                    }  
                }  
            }  
        }]  
    }

bug描述:

message:Error: 系统错误,错误码:800059,error: pages/live/index/index.js, file not found [20230113 09:48:25][wxf9cf37df95139208]
ideVersion: 1.06.2210310
osType: win32-x64
time: 2023-01-13 09:58:24

2023-01-13 10:01 负责人:无 分享
已邀请:
DCloud_UNI_Anne

DCloud_UNI_Anne

usingSwanComponents 改成 usingComponents后再试试,文档

该问题目前已经被锁定, 无法添加新回复