king
2025-01-03 aba1f5f8f00548ee243e689efe4ce3e47a71fb17
src/utils/utils-update.js
@@ -135,6 +135,14 @@
    })
  }
  if (config.version < '2.0') {
    config.version = '2.0'
    // 去除传统table中的标签,调整数据结构
    if (config.charts && config.charts.length === 1) {
      config.charts = null
    }
  }
  config.Template = 'CommonTable'
  return config
@@ -216,6 +224,14 @@
      return item
    })
  }
  if (config.version < '2.0') {
    config.version = '2.0'
    // 去除传统table中的标签,调整数据结构
    if (config.charts && config.charts.length === 1) {
      config.charts = null
    }
  }
  
  config.Template = 'SubTable'