feat(ShareSheet): support weapp-qrcode (#7635)

This commit is contained in:
neverland
2020-11-25 20:35:02 +08:00
committed by GitHub
parent 89ce8345b4
commit 09c292aeb2
4 changed files with 16 additions and 3 deletions
+2 -1
View File
@@ -81,6 +81,7 @@ export default {
{ name: '复制链接', icon: 'link' },
{ name: '分享海报', icon: 'poster' },
{ name: '二维码', icon: 'qrcode' },
{ name: '小程序码', icon: 'weapp-qrcode' },
],
],
};
@@ -177,7 +178,7 @@ export default {
| --- | --- | --- |
| name | 分享渠道名称 | _string_ |
| description `v2.8.5` | 分享选项描述 | _string_ |
| icon | 图标,可选值为 `wechat` `weibo` `qq` `link` `qrcode` `poster`,支持传入图片 URL | _string_ |
| icon | 图标,可选值为 `wechat` `weibo` `qq` `link` `qrcode` `poster` `weapp-qrcode`,支持传入图片 URL | _string_ |
| className | 分享选项类名 | _string_ |
### Events