From ccc5defb8924d04abe55301937d1650a51da593f Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 26 三月 2025 15:28:39 +0800
Subject: [PATCH] 仓库树状图添加Index属性,适配前端
---
rsf-admin/src/page/components/ImportModal.jsx | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/rsf-admin/src/page/components/ImportModal.jsx b/rsf-admin/src/page/components/ImportModal.jsx
index ea75029..703a018 100644
--- a/rsf-admin/src/page/components/ImportModal.jsx
+++ b/rsf-admin/src/page/components/ImportModal.jsx
@@ -86,6 +86,7 @@
const url = window.URL.createObjectURL(
new Blob([res.data], { type: res.headers["content-type"] }),
);
+
const link = document.createElement("a");
link.href = url;
link.setAttribute("download", `${value}.xlsx`);
--
Gitblit v1.9.1