提交 b9a475b1 编写于 作者: D DebugIsFalse

Update SearchHistory.vue

上级 c2048b7c
...@@ -90,9 +90,7 @@ async function getUserHistory () { ...@@ -90,9 +90,7 @@ async function getUserHistory () {
const { data } = await useRequest('/v1/chat/completion/list') const { data } = await useRequest('/v1/chat/completion/list')
searchHistory.value = data.value && data.value.data || [] searchHistory.value = data.value && data.value.data || []
} }
onMounted(() => { nextTick(() => {
nextTick(() => { getUserHistory()
getUserHistory()
})
}) })
</script> </script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册