zTree_v3 icon indicating copy to clipboard operation
zTree_v3 copied to clipboard

Method getIndex does not exists

Open projct1 opened this issue 4 years ago • 1 comments
trafficstars

https://skr.sh/sAMuWUw7pSj

onDrop: function(event, treeId, treeNodes, targetNode, moveType) {
    console.log(treeNodes[0].getIndex());
});

Got error Uncaught TypeError: treeNodes[0].getIndex is not a function

projct1 avatar Oct 04 '21 19:10 projct1

please check the version of your zTree js file.

zTree avatar Oct 24 '21 06:10 zTree