Commit 7bebc816 authored by shirlyn.guo's avatar shirlyn.guo 👌🏻

chore: 记忆片段清空后仍然有数据&记忆变量数据显示

parent 4a34607d
...@@ -95,7 +95,7 @@ function createColumns(): DataTableColumns<MemoryVariableForm> { ...@@ -95,7 +95,7 @@ function createColumns(): DataTableColumns<MemoryVariableForm> {
}, },
{ {
title: t('personal_space_module.agent_module.agent_setting_module.agent_config_module.variable_value'), title: t('personal_space_module.agent_module.agent_setting_module.agent_config_module.variable_value'),
key: 'variableDefault', key: 'value',
}, },
] ]
} }
...@@ -140,6 +140,7 @@ function handleDeleteAllLongMemory() { ...@@ -140,6 +140,7 @@ function handleDeleteAllLongMemory() {
) )
.then(() => { .then(() => {
fetchDeleteAllLongMemory(agentId).then(() => { fetchDeleteAllLongMemory(agentId).then(() => {
longMemoryList.value = []
window.$message.success(t('common_module.clear_success_message')) window.$message.success(t('common_module.clear_success_message'))
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment