add demo
This commit is contained in:
parent
7f035c372b
commit
442c42085b
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@
|
||||||
this.$refs.currentRowTable.clearCurrentRow();
|
this.$refs.currentRowTable.clearCurrentRow();
|
||||||
},
|
},
|
||||||
onDragDrop(a,b){
|
onDragDrop(a,b){
|
||||||
console.log(a,b)
|
console.log(a,b);
|
||||||
|
this.data1.splice(b,1,...this.data1.splice(a, 1 , this.data1[b]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue