chore: map tool description to desc in ToolStoreDialog

This commit is contained in:
CaptainB 2025-10-09 17:19:37 +08:00 committed by 刘瑞斌
parent 483538a431
commit 7dbd70fbfd

View File

@ -219,6 +219,10 @@ async function getStoreToolList() {
const res = await ToolStoreApi.getStoreToolList({ name: searchValue.value }, loading)
const tags = res.data.additionalProperties.tags
const storeTools = res.data.apps
//
storeTools.forEach((tool: any) => {
tool.desc = tool.description
})
if (storeTools.length === 0) {
filterList.value = []