mirror of
https://github.com/bufanyun/hotgo.git
synced 2026-01-22 07:06:02 +08:00
发布代码生成、更新20+表单组件,优化数据字典,gf版本更新到2.3.1
This commit is contained in:
@@ -62,6 +62,7 @@ export function downloadByUrl({
|
||||
// saveAs(imageDataUrl, '附件');
|
||||
canvas.toBlob((blob) => {
|
||||
const link = document.createElement('a');
|
||||
// @ts-ignore
|
||||
link.href = window.URL.createObjectURL(blob);
|
||||
link.download = getFileName(url);
|
||||
link.click();
|
||||
|
||||
Reference in New Issue
Block a user