fix: 修复批量删除传参错误问题
This commit is contained in:
@@ -213,7 +213,7 @@ export default {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
checkboxAll: false,
|
checkboxAll: false,
|
||||||
checkboxIds: '',
|
checkboxIds: {},
|
||||||
batchDow: false,
|
batchDow: false,
|
||||||
builtinId: '',
|
builtinId: '',
|
||||||
indeterminate: false,
|
indeterminate: false,
|
||||||
@@ -274,7 +274,7 @@ export default {
|
|||||||
},
|
},
|
||||||
selectionChange (objs) {
|
selectionChange (objs) {
|
||||||
this.$emit('selectionChange', objs)
|
this.$emit('selectionChange', objs)
|
||||||
this.checkboxIds = objs.map(item => { return item.id }).join(',')
|
this.checkboxIds.id = objs.map(item => { return item.id }).join(',')
|
||||||
this.checkboxAll = objs.length > 0 || objs.length === this.tableData.length
|
this.checkboxAll = objs.length > 0 || objs.length === this.tableData.length
|
||||||
this.batchDow = objs.length > 0
|
this.batchDow = objs.length > 0
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user