diff --git a/frontend_nuxt/components/HeaderComponent.vue b/frontend_nuxt/components/HeaderComponent.vue
index c578aaa6a..f1fef5468 100644
--- a/frontend_nuxt/components/HeaderComponent.vue
+++ b/frontend_nuxt/components/HeaderComponent.vue
@@ -8,7 +8,7 @@
-
+
OpenIsle
-
+
@@ -184,6 +184,8 @@ onMounted(async () => {
font-size: 20px;
font-weight: bold;
cursor: pointer;
+ text-decoration: none;
+ color: inherit;
}
.header-content {
diff --git a/frontend_nuxt/pages/index.vue b/frontend_nuxt/pages/index.vue
index 9820a787c..42452a0b0 100644
--- a/frontend_nuxt/pages/index.vue
+++ b/frontend_nuxt/pages/index.vue
@@ -339,19 +339,6 @@ watch(
{ immediate: true },
)
-/** 外部刷新事件(发帖后刷新首屏) **/
-const refreshHome = async () => {
- selectedCategory.value = ''
- selectedTags.value = []
- await refreshFirst()
-}
-onMounted(() => {
- window.addEventListener('refresh-home', refreshHome)
-})
-onBeforeUnmount(() => {
- window.removeEventListener('refresh-home', refreshHome)
-})
-
/** 切换分类/标签/Tab:useAsyncData 已 watch,这里只需确保 options 加载 **/
watch([selectedCategory, selectedTags], () => {
loadOptions()