src/mob/mobshell/index.jsx
@@ -119,6 +119,15 @@ if (!menu.style.paddingTop) { style = {...menu.style, paddingTop: '50px'} } } else if (item.component === 'officialAccount') { if (cards.filter(card => card.type === 'officialAccount').length > 0) { notification.warning({ top: 92, message: '关注组件不可重复添加!', duration: 5 }) return } } let name = '' @@ -140,6 +149,7 @@ menubar: '菜单栏', balcony: '浮动卡', timeline: '时间轴', officialAccount: '关注公众号', login: '登录' } let i = 1