-
-
Notifications
You must be signed in to change notification settings - Fork 853
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
移动或者单击节点,会提示节点找不到 #513
Comments
在你这个使用场景里,只应该new一次jsmind,否则你用的那个jm对象很可能不是你希望用到的那个。 let jm = new jsMind(options); 把这句拿出来, |
另外 save 之后为什么要移除 jsmind-inner 里的内容呢? 你是想清空整个脑图吗?所以这才是你需要反复new的原因? 如果是这个原因的话,可以考虑其他的处理方式,比如加上一层把脑图给挡上之类的。 |
jsmind绘图时需要知道container的尺寸,所以不要用 display:none,隐藏的话可以用 visibility:hidden |
感谢,正常了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题:打开第一个文件时,可以任意编辑、移动节点(必须要移动节点),关闭文件后,打开另一个文件,单击或移动哪个节点,就提示哪个节点找不到并报错。如果两次打开的是同一个文件,就不会报错,可以帮看看可能是什么原因吗,谢谢~
报错截图:
系统:windows10 家庭版 64位
浏览器:chrome 118.0.5993.71 64位
jsmind版本:0.7.4
以下是主要代码:
1、从后端读取xmind
2、保存 xmind
The text was updated successfully, but these errors were encountered: