From 6fa082e98b9bcdf8691ca8d651adf958571246b1 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 25 Sep 2023 14:03:51 +0800
Subject: [PATCH] 局部国际化
---
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