[test] text for datatransfer
This commit is contained in:
@@ -274,10 +274,7 @@
|
|||||||
folder?:string
|
folder?:string
|
||||||
}
|
}
|
||||||
const avatarDragStart = (ind:DragData, e:DragEv) => {
|
const avatarDragStart = (ind:DragData, e:DragEv) => {
|
||||||
e.dataTransfer.setData("application/json", JSON.stringify({
|
e.dataTransfer.setData('text/plain', '');
|
||||||
type: "risuDrag",
|
|
||||||
index: ind
|
|
||||||
}))
|
|
||||||
currentDrag = ind
|
currentDrag = ind
|
||||||
const avatar = e.currentTarget.querySelector('.avatar')
|
const avatar = e.currentTarget.querySelector('.avatar')
|
||||||
if(avatar){
|
if(avatar){
|
||||||
|
|||||||
Reference in New Issue
Block a user