fix 80102
This commit is contained in:
@@ -207,6 +207,7 @@
|
|||||||
<j-expand-table ref="expandTable"
|
<j-expand-table ref="expandTable"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
|
rowKey="id"
|
||||||
bordered
|
bordered
|
||||||
form-is-depend="isAdopt"
|
form-is-depend="isAdopt"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
@@ -1188,7 +1189,8 @@ export default {
|
|||||||
this.$refs.opinionModal.open()
|
this.$refs.opinionModal.open()
|
||||||
},
|
},
|
||||||
handleWriteOpinion ({ isAdopt }) {
|
handleWriteOpinion ({ isAdopt }) {
|
||||||
this.selectedRowKeys.forEach(index => {
|
this.selectedRowKeys.forEach(id => {
|
||||||
|
const index = this.dataSource.findIndex(tt => tt.id === id)
|
||||||
this.$set(this.dataSource[index], 'isAdopt', isAdopt)
|
this.$set(this.dataSource[index], 'isAdopt', isAdopt)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user