j***@126.com
j***@126.com
  • 发布:2022-06-13 10:37
  • 更新:2022-06-13 19:42
  • 阅读:1037

[Vue warn]: Failed to resolve component: barcode

分类:uni-app

执行以下扫码程序

uni.scanCode({  
                    success(res) {  
                        if (res.errMsg == "scanCode:ok") {  

                        }  
                    }  
                });

报下面的错误
10:34:39.844 [Vue warn]: Failed to resolve component: barcode
10:34:39.875 If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
10:34:39.906 at <ApppageId=NaNpagePath="template/uniappscan"pageQuery={}>

2022-06-13 10:37 负责人:无 分享
已邀请:
j***@126.com

j***@126.com (作者)

报的错误

10:34:39.844 [Vue warn]: Failed to resolve component: barcode  
10:34:39.875 If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.  
10:34:39.906 at <App__pageId=NaN__pagePath="template/__uniappscan"__pageQuery={}>
DCloud_UNI_Anne

DCloud_UNI_Anne

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