king
2021-10-08 d6dfba48678e1107a9e7c6524e1dfa2d3fdff03c
src/menu/components/tabs/tabcomponents/index.jsx
@@ -69,7 +69,10 @@
    drop(item) {
      if (item.hasOwnProperty('originalIndex') || item.added) {
        return
      } else if (['login', 'navbar', 'topbar'].includes(item.component)) {
        return
      }
      item.added = true
      if (item.component === 'search') { // 搜索组件不可重复添加
@@ -92,7 +95,7 @@
      let name = ''
      let names = {
        bbar: '柱状图',
        bar: '柱状图',
        line: '折线图',
        tabs: '标签组',
        pie: '饼图',
@@ -106,6 +109,7 @@
        dashboard: '仪表盘',
        scatter: '散点图',
        tree: '树形列表',
        balcony: '浮动卡',
        card: '卡片'
      }
      let i = 1