src/tabviews/custom/components/table/normal-table/index.jsx
@@ -110,14 +110,15 @@ } _config.columns.forEach(item => { if (item.type !== 'number') return _cols.set(item.field, item) }) _config.cols.forEach(column => { if (column.type === 'custom') { column.elements = column.elements.map(item => { if (item.field && _cols.has(item.field)) { item.col = _cols.get(item.field) if (item.eleType === 'number' && item.field && _cols.has(item.field) && typeof(item.decimal) !== 'number') { item.decimal = _cols.get(item.field).decimal || 0 } return item })