From c66b9868ededa0f89038f1a046ee7b3daee2e203 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 05 十一月 2024 16:16:20 +0800
Subject: [PATCH] 回车刷新页面问题

---
 src/api/platform/threshold.js |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/threshold.js b/src/api/platform/threshold.js
index 45d254e..ef0f6b5 100644
--- a/src/api/platform/threshold.js
+++ b/src/api/platform/threshold.js
@@ -85,3 +85,16 @@
     data: data
   })
 }
+
+// 瀵煎叆
+export function importData(data) {
+  return request({
+    url: '/threshold/import',
+    method: 'post',
+    data: data,
+    headers: {
+      'Content-Type': 'multipart/form-data'
+    },
+    timeout: 150000
+  })
+}

--
Gitblit v1.8.0