From 23a3bdc1b76cea16bc9ec5795b9a380acd0ab43f Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期四, 20 七月 2023 11:40:49 +0800
Subject: [PATCH] 提交代码
---
Source/UBCS-WEB/dist/src/api/common.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/Source/UBCS-WEB/dist/src/api/common.js b/Source/UBCS-WEB/dist/src/api/common.js
new file mode 100644
index 0000000..743dc69
--- /dev/null
+++ b/Source/UBCS-WEB/dist/src/api/common.js
@@ -0,0 +1,13 @@
+import request from "@/router/axios";
+
+/**
+ * 鏂囦欢娴佽繑鍥�
+ * @param url 鎺ュ彛鍦板潃
+ */
+export const exportBlob = (url) => {
+ return request({
+ url: url,
+ method: 'get',
+ responseType: 'blob'
+ })
+}
--
Gitblit v1.9.3