diff --git a/components/i/SearchHistory.vue b/components/i/SearchHistory.vue index 5c33863d1ee8b8b0f176b52fb27280d599b549c6..871c7823a1a6c1a5af417ec87ac08fbf53a394ef 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') }