作者 yangfu

chore: optimize table preview

... ... @@ -114,7 +114,7 @@ func (d *FilePreviewDto) Load(fileId int, m *domain.DataLoadDataTable, file *red
}
var fields []*domain.Field
mapData := domain.ToFieldData(m.Fields, formatData(m.Data, func(s string) string {
mapData := domain.ToFieldData(file.Fields, formatData(m.Data, func(s string) string {
if s == "<NA>" {
return ""
}
... ...