小程序引用插件的组件报错是什么问题啊?
发布于 5 年前 作者 rpan 4453 次浏览 来自 问答

在本地开发工具模拟调用插件中的组件,报错如下:

 插件中的代码:
 "publicComponents": {
    "member-index""components/member-index/member-index"
  }
  小程序中的代码:
 1 "plugins": {
    "member-plugin": {
      "version""dev-c74224073dcd75d4c044ad256117e359",
      "provider""wxa3380......."
    }
  }
  2  {
      "usingComponents": {
        "member-index""plugin://member-plugin/member-index"
      }
      }
      
          
2 回复

你好,麻烦自查。

1、“match” 没有定义

2、可以参考下文档:https://developers.weixin.qq.com/miniprogram/dev/framework/plugin/using.html

或者mp后台查询下对应的插件文档。

是插件的问题。需要去读插件源码才可排查。

回到顶部