src/menu/menushell/index.jsx
@@ -57,9 +57,12 @@ content: hasComponent ? '当前组件中含有子组件!' : '', onOk() { const _cards = cards.filter(item => item.uuid !== card.uuid) MKEmitter.emit('delButtons', uuids) handleList({...menu, components: _cards}) setCards(_cards) if (uuids.length === 0) return MKEmitter.emit('delButtons', uuids) }, onCancel() {} }) @@ -87,6 +90,7 @@ let name = '' let names = { bar: '柱状图', chart: '图表', line: '折线图', tabs: '标签组', pie: '饼图',