diff --git a/examples/routers/table.vue b/examples/routers/table.vue index 15648b3..a040292 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -64,7 +64,8 @@ this.$refs.currentRowTable.clearCurrentRow(); }, onDragDrop(a,b){ - console.log(a,b) + console.log(a,b); + this.data1.splice(b,1,...this.data1.splice(a, 1 , this.data1[b])); } } } -- libgit2 0.21.4