We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
尝试过在GridItem移动事件中,删除源GridLayout中的layout数组中的item,再插入到目标GridLayout的layout数组中,但这样会引发handleDrag中的异常:
if (!mouseInGrid) { let draggingIndex = layoutData.value[0].findIndex(ele => ele.i === itemId) let removed = layoutData.value[0].splice(draggingIndex, 1) console.log(layoutData.value[0], removed) }
大概可以模仿drag-from-outside例子,但先要解决拖少源GridItem时从源数组上删除该项引发异常?
The text was updated successfully, but these errors were encountered:
我在这个分支中实现了多网格间移动项目:但不完善
Sorry, something went wrong.
No branches or pull requests
尝试过在GridItem移动事件中,删除源GridLayout中的layout数组中的item,再插入到目标GridLayout的layout数组中,但这样会引发handleDrag中的异常:
大概可以模仿drag-from-outside例子,但先要解决拖少源GridItem时从源数组上删除该项引发异常?
The text was updated successfully, but these errors were encountered: