feat: 增强知识库索引与设置页面模块化拆分
扩展知识库索引任务和 RAG 检索支持增量入库和文档去重,优 化本体检测和规则匹配精度,前端设置页面拆分为 LLM、邮件 和 Hermes 员工同步子面板并重构样式,新增日志详情组件和 知识入库日志模型,补充单元测试覆盖。
This commit is contained in:
20
web/src/views/scripts/MailSettingsPanel.js
Normal file
20
web/src/views/scripts/MailSettingsPanel.js
Normal file
@@ -0,0 +1,20 @@
|
||||
export default {
|
||||
name: 'MailSettingsPanel',
|
||||
props: {
|
||||
mailForm: {
|
||||
type: Object,
|
||||
required: true
|
||||
}
|
||||
},
|
||||
setup(props) {
|
||||
function toggleField(field) {
|
||||
if (props.mailForm) {
|
||||
props.mailForm[field] = !props.mailForm[field]
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
toggleField
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user