Merge pull request #5637 from bdh92123/master

Fixed #5372: DataTable: Modifying value of expendedRow is n…
pull/5638/head
Tuğçe Küçükoğlu 2024-04-24 09:09:06 +03:00 committed by GitHub
commit 76c0c37ff7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ export default {
},
watch: {
expandedRows: {
deep: true,
immediate: true,
handler(newValue) {
this.d_rowExpanded = this.dataKey ? newValue?.[ObjectUtils.resolveFieldData(this.rowData, this.dataKey)] !== undefined : newValue?.some((d) => this.equals(this.rowData, d));