ui: 刷新飞书缓存按钮移到知识库管理页面
This commit is contained in:
@@ -1083,7 +1083,10 @@ function buildChatQuery() {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template v-if="activeMenu === 'knowledge'">
|
<template v-if="activeMenu === 'knowledge'">
|
||||||
<div class="page-head"><h2>知识库管理</h2><p>维护飞书知识库 SpaceID 和 NodeID。</p></div>
|
<div class="page-head inline">
|
||||||
|
<div><h2>知识库管理</h2><p>维护飞书知识库 SpaceID 和 NodeID。</p></div>
|
||||||
|
<el-button type="warning" @click="clearFeishuCache">刷新飞书缓存</el-button>
|
||||||
|
</div>
|
||||||
<el-form class="knowledge-form" :model="knowledgeForm">
|
<el-form class="knowledge-form" :model="knowledgeForm">
|
||||||
<el-input v-model="knowledgeForm.name" placeholder="知识库名称" />
|
<el-input v-model="knowledgeForm.name" placeholder="知识库名称" />
|
||||||
<el-input v-model="knowledgeForm.feishuSpaceId" placeholder="SpaceID" />
|
<el-input v-model="knowledgeForm.feishuSpaceId" placeholder="SpaceID" />
|
||||||
@@ -1172,7 +1175,6 @@ function buildChatQuery() {
|
|||||||
<div class="actions">
|
<div class="actions">
|
||||||
<el-button type="primary" @click="savePrompt">保存 Agent 提示词</el-button>
|
<el-button type="primary" @click="savePrompt">保存 Agent 提示词</el-button>
|
||||||
<el-button @click="clearAgentPreview">清空预览</el-button>
|
<el-button @click="clearAgentPreview">清空预览</el-button>
|
||||||
<el-button type="warning" @click="clearFeishuCache">刷新飞书缓存</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user