小程序里面使用 企业微信插件 「联系我」插件 ,但是跟据文档配置好后,按钮无法显示
代码中配置:
pages.json:
{
// 我的
"path": "pages/my/my",
"style": {
"navigationStyle": "custom"
},
"mp-weixin": {
"usingComponents": {
"cell": "plugin://contactPlugin/cell"
}
}
},
manifest.json:
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "xxxxxxxx",
"setting" : {
"urlCheck" : false,
"minified" : true,
"postcss" : false
},
"usingComponents" : true,
"permission" : {
"scope.userLocation" : {
"desc" : "获取当前位置为你推荐周边上车站点"
}
},
"plugins": {
"contactPlugin": {
"version": "1.4.3",
"provider": "wx104a1a20c3f81ec2"
}
}
},
my.vue:
<cell @startmessage='startmessage' @completemessage="completemessage" plugid='xxxxxxxxxxxxxxxxxx' />
组件没法引入,plugin:// 协议组件如何引入呢?