zTree_v3
zTree_v3 copied to clipboard
Method getIndex does not exists
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
please check the version of your zTree js file.