src/tabviews/custom/components/card/table-card/index.jsx
@@ -77,13 +77,14 @@ } _config.columns.forEach(item => { if (item.type !== 'number') return _cols.set(item.field, item) }) _config.subcards.forEach(card => { card.elements = card.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 })