From 83d4c07a67e7588e3938237cfad9eaa6be5ea6c5 Mon Sep 17 00:00:00 2001
From: sean.zhou <sean.zhou@dji.com>
Date: Mon, 12 Dec 2022 19:00:47 +0800
Subject: [PATCH] initial v1.3.1
---
src/utils/common.ts | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/utils/common.ts b/src/utils/common.ts
index 03c65f2..26fd977 100644
--- a/src/utils/common.ts
+++ b/src/utils/common.ts
@@ -1,4 +1,8 @@
-
+/**
+ * 下载文件
+ * @param data
+ * @param fileName
+ */
export function downloadFile (data: Blob, fileName: string) {
const lable = document.createElement('a')
lable.href = window.URL.createObjectURL(data)
--
Gitblit v1.9.3