fix(advance table): checkIndexs merge wrong

This commit is contained in:
JiwenBai 2019-07-31 12:09:46 +08:00
parent c21815ff43
commit 5ff5e3181e

View File

@ -97,7 +97,7 @@ export default {
this.filterItems.forEach((item, index) => {
checkedIndexs[item.value] = { isChecked: false, index }
})
this.checkedIndexs = { checkedIndexs, ...this.checkedIndexs }
this.checkedIndexs = { ...checkedIndexs, ...this.checkedIndexs }
}
},
methods: {