[update] 修改UAT问题:法规符合性排查流程提交的时候设置扩展表格的展开keys去重
This commit is contained in:
@@ -282,6 +282,9 @@ export default {
|
||||
},
|
||||
deep: true,
|
||||
immediate: true
|
||||
},
|
||||
expandedRowKeys (val) {
|
||||
console.log('expandedRowKeys改变了', val)
|
||||
}
|
||||
},
|
||||
data () {
|
||||
@@ -359,7 +362,8 @@ export default {
|
||||
const firstPage = parseInt((Number(firstIndex) + 1) / this.ipagination.pageSize) + 1
|
||||
this.ipagination.current = firstPage
|
||||
this.$nextTick(() => {
|
||||
this.expandedRowKeys = [...this.expandedRowKeys, ...errorRows.map(tt => tt.rowKey)]
|
||||
const arr = [...this.expandedRowKeys, ...errorRows.map(tt => tt.rowKey)]
|
||||
this.expandedRowKeys = Array.from(new Set(arr))
|
||||
let timer = setTimeout(() => {
|
||||
this.$nextTick(() => {
|
||||
errorIndex.forEach(index => {
|
||||
|
||||
Reference in New Issue
Block a user