-
-
Notifications
You must be signed in to change notification settings - Fork 854
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
如何将生成的思维导图导出呢。我这边用jm实例绘制,拿到的jm实例数据是空的,下载下来的也是空白 #514
Comments
上面这些代码是你自己写的吗?还是在哪里看到的? |
直接 使用jm.screenshot.shootDownload()也报错; 引用了jsmind.screenshot.js和jsmind.js |
如果你用的是最新的版本的话,可以参考这个文档: |
其他的功能可以参考这个页面的实现 https://hizzgdev.github.io/jsmind/example/2_features_cn.html |
好的 谢谢 |
`<script type="text/javascript" src="${ctx}/app/javascript/lib/jsMind/jsmind.js"></script> <script type="text/javascript" src="${ctx}/app/javascript/lib/jsMind/dom-to-image.min.js"></script> <script type="text/javascript" src="${ctx}/app/javascript/lib/jsMind/jsmind.screenshot.js"></script>`` var jm = new jsMind(options);
我引用了最新版本的,但是jm.shoot()报错jm.shoot() is not a function;这是什么原因呢 |
你看控制台有报错吗?这种情况一般是js没有加载上。或者你在浏览器network里点开jsmind.js和jsmind.screen.js看看是不是都是最新版本? |
控制台报错的jm.shoot() is not a function;浏览器network里面jsmind.js jsmind.screenshot.js也都是最新的,jsmind.screenshot.js里面的shoot()方法也是存在的 |
https://hizzgdev.github.io/jsmind/example/2_features_cn.html |
这个页面是可以的,我直接用页面的引用,还是报错jm.shoot() is not a function;明明network里面引用的js都在的;我再研究以下吧,谢谢了 |
var jm = new jsMind(options);
The text was updated successfully, but these errors were encountered: