Merge branch '2.x' into dev

This commit is contained in:
chenjiahan
2020-11-25 22:01:09 +08:00
14 changed files with 259 additions and 14 deletions
+9 -1
View File
@@ -4,7 +4,15 @@ import { createNamespace, pick } from '../utils';
// Components
import Popup, { popupSharedProps } from '../popup';
const PRESET_ICONS = ['qq', 'weibo', 'wechat', 'link', 'qrcode', 'poster'];
const PRESET_ICONS = [
'qq',
'link',
'weibo',
'wechat',
'poster',
'qrcode',
'weapp-qrcode',
];
function getIconURL(icon) {
if (PRESET_ICONS.indexOf(icon) !== -1) {