提交 c710b62c 编写于 作者: View Design's avatar View Design

Update SearchHistory.vue

上级 06ff0f61
...@@ -126,32 +126,6 @@ function handleClickItem () { ...@@ -126,32 +126,6 @@ function handleClickItem () {
async function getUserHistory () { async function getUserHistory () {
const { data } = await useRequest('/v1/chat/completion/list') const { data } = await useRequest('/v1/chat/completion/list')
searchHistory.value = data.value.data searchHistory.value = data.value.data
searchHistory.value = [
{
"c_id":"c_20240516095719_bfaJkBJyg4KTwL9",
"username":"github_Hansen523",
"title":"介绍项目",
"repo_path":"https://github.com/langchain-ai/langchain.git",
"create_time":"2024-05-24T15:26:24",
"update_time":"2024-05-24T15:29:48"
},
{
"c_id":"c_20240516095719_bfaJkBJyg4KTwL9",
"username":"github_Hansen523",
"title":"介绍项目",
"repo_path":"https://github.com/langchain-ai/langchain.git",
"create_time":"2024-05-24T15:26:24",
"update_time":"2024-05-24T15:29:48"
},
{
"c_id":"c_20240516095719_bfaJkBJyg4KTwL9",
"username":"github_Hansen523",
"title":"介绍项目",
"repo_path":"https://github.com/langchain-ai/langchain.git",
"create_time":"2024-05-24T15:26:24",
"update_time":"2024-05-24T15:29:48"
}
]
} }
nextTick(() => { nextTick(() => {
$isSignIn && getUserHistory() $isSignIn && getUserHistory()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册