From 84123ec2f33fc38a34bc156e4dccde0823a31062 Mon Sep 17 00:00:00 2001
From: seven <2260006962@qq.com>
Date: Wed, 24 Dec 2025 09:49:19 +0800
Subject: [PATCH] feat(indexes): add folder choose
---
src/pages/manage/indexes/scan.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/pages/manage/indexes/scan.tsx b/src/pages/manage/indexes/scan.tsx
index 3e07ff86b..d261dada6 100644
--- a/src/pages/manage/indexes/scan.tsx
+++ b/src/pages/manage/indexes/scan.tsx
@@ -13,6 +13,7 @@ import { useFetch, useT } from "~/hooks"
import { createSignal, Show } from "solid-js"
import { Flag, PEmptyResp, PResp, Type } from "~/types"
import { formatDate, handleResp, handleRespWithNotifySuccess, r } from "~/utils"
+import { FolderChooseInput } from "~/components"
type Progress = {
obj_count: number
@@ -111,9 +112,9 @@ const Scan = () => {
{t("indexes.path_to_scan")}
- setScanPath(e.currentTarget.value)}
+ onChange={(path) => setScanPath(path)}
/>
{t("indexes.rate_limit")}