diff --git a/frontend/composables/useApi.js b/frontend/composables/useApi.js
index 13efb89..24bb518 100644
--- a/frontend/composables/useApi.js
+++ b/frontend/composables/useApi.js
@@ -61,6 +61,14 @@ export const useApi = () => {
body: data
})
}
+
+ // 导入已解密目录API
+ const importDecrypted = async (data) => {
+ return await request('/import_decrypted', {
+ method: 'POST',
+ body: data
+ })
+ }
// 健康检查API
const healthCheck = async () => {
diff --git a/frontend/pages/decrypt.vue b/frontend/pages/decrypt.vue
index 4e90eed..399ab33 100644
--- a/frontend/pages/decrypt.vue
+++ b/frontend/pages/decrypt.vue
@@ -16,13 +16,31 @@
输入密钥和路径开始解密
+选择解密新数据或导入已解密目录
+