Refine chatdoc and base code interface (#2)

This commit is contained in:
AceDataCloud committed 2024-03-18 00:49:01 +08:00
1 parent 28da0263dc
commit 09ee60aa6e
21 files changed
+352 -168

No files matched your search

@@ -88,6 +88,7 @@ export default defineComponent({
ElMessage.success(this.$t('chatdoc.message.createDocumentSuccess'));
this.dialogVisible = false;
this.$store.dispatch('chatdoc/getDocuments', { repositoryId: this.$route.params.repositoryId });
this.$store.dispatch('chatdoc/getApplication');
})
.catch(() => {
ElMessage.error(this.$t('chatdoc.message.createDocumentError'));