src/components/DragSelect/index.vue
@@ -39,6 +39,7 @@ // Detail see : https://github.com/RubaXa/Sortable/issues/1012 }, onEnd: evt => { console.log(evt, 123) const targetRow = this.value.splice(evt.oldIndex, 1)[0] this.value.splice(evt.newIndex, 0, targetRow) } @@ -47,7 +48,13 @@ } } </script> <style> .sortable-ghost{ opacity: .8; color: #fff!important; background: #42b983!important; } </style> <style lang="scss" scoped> .drag-select { ::v-deep {