From 570db31adf67a40aa1727150334a8ed2c9aaba0c Mon Sep 17 00:00:00 2001 From: Aresn Date: Mon, 27 May 2024 10:33:53 +0800 Subject: [PATCH] Update SearchHistory.vue --- components/i/SearchHistory.vue | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/components/i/SearchHistory.vue b/components/i/SearchHistory.vue index 5c33863..871c782 100644 --- a/components/i/SearchHistory.vue +++ b/components/i/SearchHistory.vue @@ -68,24 +68,7 @@ const emits = defineEmits(['sign', 'clear']) const Layout = inject('Layout') const { $isSignIn } = useUserStore() -const searchHistory = ref([ - // { - // title: 'Vue 的 v-model 怎么用', - // url: 'c_20240521161631_C8miVoieSKGfgNGP?query=Vue%20的%20v-model%20怎么用&repo=keycloak' - // }, - // { - // title: '帮我写一个爬虫,爬取豆瓣热门电影top250', - // url: 'c_20240521161649_0LbyaJFKX6fyJYyA?query=帮我写一个爬虫,爬取豆瓣热门电影top250&repo=keycloak' - // }, - // { - // title: 'grid 的 grid-template-columns 除了 minmax 和 repeat,还有哪些值', - // url: 'c_20240521161709_LtiJL8thi5XuYLd6?query=grid%20的%20grid-template-columns%20除了%20minmax%20和%20repeat,还有哪些值&repo=keycloak' - // }, - // { - // title: 'flex 各种布局的区别', - // url: 'c_20240521161933_wxgXGKYhmfJe6QE0?query=flex%20各种布局的区别&repo=keycloak' - // } -]) +const searchHistory = ref([]) function handleClear () { emits('clear') } -- GitLab