mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-13 23:20:12 +08:00
indicate new record in parent table (#406)
This commit is contained in:
parent
20dfa472b1
commit
b45740e3a3
@ -726,7 +726,7 @@ export default {
|
|||||||
this.getterDataRecords.shift()
|
this.getterDataRecords.shift()
|
||||||
},
|
},
|
||||||
tableRowClassName({ row, rowIndex }) {
|
tableRowClassName({ row, rowIndex }) {
|
||||||
if (row.isNew && this.isEmptyValue(row.Created)) {
|
if (row.isNew && rowIndex === 0) {
|
||||||
return 'warning-row'
|
return 'warning-row'
|
||||||
}
|
}
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user