licp
2024-12-09 c720c2a6eb50796876cae4b18b37b54e9a99ea60
src/components/tool/file-preview.vue
@@ -155,6 +155,7 @@
            column:[]
          }
          obj.tableData = this.formatCSVToTable(m.content.replaceAll('null',' '))
          // .replaceAll('MIN','=MIN').replaceAll('MAX','=MAX').replaceAll('AVERAGE','=AVERAGE')
          for (let item in obj.tableData[0]) {
            obj.column.push({
              label: item,
@@ -213,7 +214,7 @@
          element.setAttribute('style', style.replace(/pt/g, 'px'));
        }
      }
    }
    },
  }
}
</script>