cmc-web/packages/common/mixins/selection.js

13 lines
200 B
JavaScript
Raw Normal View History

2024-08-20 12:11:31 +00:00
export default {
data() {
return {
selectionIds: []
}
},
methods: {
handleSelectionChange(selections) {
this.selectionIds = selections.map((item) => item.id)
}
}
}