king
2021-07-22 f3ec8c20eeabee6eaab1508d2f3896c28aab611c
src/menu/components/tabs/tabcomponents/index.jsx
@@ -54,8 +54,11 @@
      title: `确定删除《${card.name}》吗?`,
      content: hasComponent ? '当前组件中含有子组件!' : '',
      onOk() {
        MKEmitter.emit('delButtons', uuids)
        handleList({...config, components: cards.filter(item => item.uuid !== card.uuid)})
        if (uuids.length === 0) return
        MKEmitter.emit('delButtons', uuids)
      },
      onCancel() {}
    })