antvis/G6





The issue has been closed
导出图片文件名后跟着格式名 #4913
iahu posted onGitHub
问题描述
比如调用 graph.downloadImage('hello-world', 'image/png')
弹出的保存文件的对话框里文件名会是 hello-worldpng
重现链接
https://codesandbox.io/s/friendly-hill-npk2zx?file=/src/App.js
重现步骤
点击 'Download Image' 按钮
预期行为
不要附带格式名
平台
- 操作系统: macOS
- 网页浏览器: Google Chrome
- G6 版本: [4.5.1 ... ]
屏幕截图或视频(可选)
No response
补充说明(可选)
No response