diff --git a/src/views/Archives.vue b/src/views/Archives.vue
index 7dbb39e5..362ef601 100644
--- a/src/views/Archives.vue
+++ b/src/views/Archives.vue
@@ -5,15 +5,7 @@
{{ t('menu.archives') }}
{
diff --git a/src/views/Tag.vue b/src/views/Tag.vue
index c21dbca1..c99767a3 100644
--- a/src/views/Tag.vue
+++ b/src/views/Tag.vue
@@ -38,6 +38,7 @@ import { useTagStore } from '@/stores/tag'
import { TagList, TagItem } from '@/components/Tag'
import { useCommonStore } from '@/stores/common'
import SvgIcon from '@/components/SvgIcon/index.vue'
+import defaultCover from '@/assets/default-cover.jpg'
export default defineComponent({
name: 'Tag',
@@ -49,7 +50,7 @@ export default defineComponent({
const fetchData = async () => {
tagStore.fetchAllTags()
- commonStore.setHeaderImage(`${require('@/assets/default-cover.jpg')}`)
+ commonStore.setHeaderImage(defaultCover)
}
onBeforeMount(fetchData)