diff --git a/src/components/settings/LibrarySettings.vue b/src/components/settings/LibrarySettings.vue
index 7a15d55..1e955c9 100644
--- a/src/components/settings/LibrarySettings.vue
+++ b/src/components/settings/LibrarySettings.vue
@@ -100,6 +100,10 @@
/>
+ 如果您需要上传文档,请在聊天界面上传(需要为对话设置默认助理才可以上传)。
+
创建
@@ -149,7 +153,7 @@
@@ -162,12 +166,24 @@
{{ c.name }}
-
-
-
-
-
-
+
+
+
+
+
+
+ 处理完成
+
+
+
+
+
+
+
+
+ 正在处理
+
+
@@ -203,8 +219,8 @@ import {
TrashBinOutline,
SettingsOutline,
DocumentOutline,
- Reload,
- Checkmark
+ SyncOutline,
+ Checkmark,
} from "@vicons/ionicons5";
import { AxiosError } from "axios";
import { useMessage } from "naive-ui";
@@ -235,6 +251,7 @@ const showEditDialog = async (library: EntityLibrary) => {
showEditLibraryDialog.value = true;
getDocuments(library.id ?? 0);
+ libraryStore.updateLibraries();
};
const getDocuments = async (libraryId: number) => {
@@ -253,6 +270,8 @@ const updateLibrary = async () => {
default: currentLibrary.value.default ?? false,
});
}
+
+ libraryStore.updateLibraries();
};
const newLibrary = async () => {