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 = { bbar: '柱状图', bar: '柱状图', line: '折线图', tabs: '标签组', pie: '饼图', @@ -103,6 +106,7 @@ dashboard: '仪表盘', scatter: '散点图', tree: '树形列表', balcony: '浮动卡', card: '卡片' } let i = 1