diff --git a/components/command/CommandPanel.vue b/components/command/CommandPanel.vue index ed60ff4f..b5c927a2 100644 --- a/components/command/CommandPanel.vue +++ b/components/command/CommandPanel.vue @@ -42,7 +42,7 @@ const searchResult = $computed(() => { const hashtagList = hashtags.value.slice(0, 3) .map(hashtag => ({ type: 'hashtag', - id: hashtag.id, + id: `hashtag-${hashtag.name}`, hashtag, to: getTagRoute(hashtag.name), })) diff --git a/components/search/SearchHashtagInfo.vue b/components/search/SearchHashtagInfo.vue index 0fe2d1fd..f41350c7 100644 --- a/components/search/SearchHashtagInfo.vue +++ b/components/search/SearchHashtagInfo.vue @@ -1,7 +1,9 @@