mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 09:50:33 +01:00
fix(Table): display nothing instead of error when key is missing
Fixes #1173
This commit is contained in:
@@ -267,7 +267,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRowData (row: Object, rowKey: string | string[], defaultValue: any = 'Failed to get cell value') {
|
function getRowData (row: Object, rowKey: string | string[], defaultValue: any = '') {
|
||||||
return get(row, rowKey, defaultValue)
|
return get(row, rowKey, defaultValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user