king
2021-07-28 137fb8ea6af2789b3238b22bac31d80bced41dfe
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() {}
    })
@@ -89,7 +92,7 @@
      let name = ''
      let names = {
        bar: '柱状图',
        bbar: '柱状图',
        line: '折线图',
        tabs: '标签组',
        pie: '饼图',
@@ -97,7 +100,12 @@
        table: '表格',
        group: '分组',
        editor: '富文本',
        code: '自定义',
        carousel: '轮播',
        form: '表单',
        dashboard: '仪表盘',
        scatter: '散点图',
        tree: '树形列表',
        card: '卡片'
      }
      let i = 1