king
2022-09-20 44907fa0d9111bf5e345a2f7e8c1d887aa7174b7
src/mob/mobshell/card.jsx
@@ -29,6 +29,7 @@
const CommonMenuBar = asyncComponent(() => import('@/mob/components/menubar/common-menubar'))
const Balcony = asyncComponent(() => import('@/menu/components/card/balcony'))
const Timeline = asyncComponent(() => import('@/menu/components/timeline/normal-timeline'))
const OfficialAccount = asyncComponent(() => import('@/mob/components/official'))
const Card = ({ id, card, moveCard, findCard, delCard, updateConfig }) => {
  const originalIndex = findCard(id).index
@@ -132,6 +133,8 @@
      return (<Balcony card={card} updateConfig={updateConfig} deletecomponent={delCard}/>)
    } else if (card.type === 'timeline') {
      return (<Timeline card={card} updateConfig={updateConfig} deletecomponent={delCard}/>)
    } else if (card.type === 'officialAccount') {
      return (<OfficialAccount card={card} updateConfig={updateConfig} deletecomponent={delCard}/>)
    }
  }