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
现在监听node双击事件,弹出一个弹窗,需要把框架的编辑node名称的这个功能阻止掉,尝试用data.e.stopPropagation(),但并没有阻止掉
this.lf.on('node:dbclick', data => { data.e.stopPropagation() })
LogicFlow Version: Node Version: Platform:
The text was updated successfully, but these errors were encountered:
由于所提供信息的不充分,该 issue 被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。
Sorry, something went wrong.
可以尝试通过lf.eventCenter.off('node:dbclick')清除所有注册的node:dbclick监听事件,再重新注册你自己的。另外,你这个不是bug report。
No branches or pull requests
问题描述
现在监听node双击事件,弹出一个弹窗,需要把框架的编辑node名称的这个功能阻止掉,尝试用data.e.stopPropagation(),但并没有阻止掉
最简复现
this.lf.on('node:dbclick', data => {
data.e.stopPropagation()
})
相关信息 context
LogicFlow Version:
Node Version:
Platform:
The text was updated successfully, but these errors were encountered: