Skip to content
New issue

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

2.15版本使用dnd插件2.1版本 ,在调用dnd.start的时候报错提示 “Cannot read properties of null (reading 'model')” #3967

Closed
nanfb opened this issue Oct 12, 2023 · 5 comments
Labels
potential-duplicate This issue or pull request may duplicated with others. resolution: invalid 无效 Issues describing problems that don't exist

Comments

@nanfb
Copy link

nanfb commented Oct 12, 2023

问题描述

执行按下事件的时候触发dnd.start,但是会有报错,我看到之前有issus说是引入问题,当作插件抽出来也还是有这个问题吗?

重现链接

https://codesandbox.io/s/beautiful-bush-kpykjl?file=/src/components/content/Content.vue

重现步骤

点击按下dnd面板元素

预期行为

元素clone,正常走

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@x6-bot x6-bot bot added the potential-duplicate This issue or pull request may duplicated with others. label Oct 12, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 12, 2023

Potential duplicates:

@nanfb nanfb changed the title 2.15版本使用dnd插件2.1版本 ,在调动dnd.start的时候报错提示 “Cannot read properties of null (reading 'model')” 2.15版本使用dnd插件2.1版本 ,在调用dnd.start的时候报错提示 “Cannot read properties of null (reading 'model')” Oct 12, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 12, 2023

Potential duplicates:

@NewByVector
Copy link
Contributor

new Dnd 的时候传的 graph 是 null

@NewByVector NewByVector added the resolution: invalid 无效 Issues describing problems that don't exist label Oct 12, 2023
@nanfb
Copy link
Author

nanfb commented Oct 12, 2023

new Dnd的时候传的图为空

真的,我是若只,昨晚通宵了。给大伙添麻烦了😭

@nanfb nanfb closed this as completed Oct 12, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented Oct 12, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Oct 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
potential-duplicate This issue or pull request may duplicated with others. resolution: invalid 无效 Issues describing problems that don't exist
Projects
None yet
Development

No branches or pull requests

2 participants