|
@@ -180,7 +180,7 @@ const getLayoutImage = async () => {
|
|
|
const blob = await new Promise<Blob>((resolve) => {
|
|
|
return canvas.toBlob(resolve, "image/jpeg", 0.95);
|
|
|
});
|
|
|
- await downloadImage(blob, `tables_${index}.jpg`);
|
|
|
+ await downloadImage(blob, `tables_${new Date().getTime()}.jpg`);
|
|
|
Message.success({ msg: "已保存至相册", time: 2000 });
|
|
|
num++;
|
|
|
|