diff --git a/app/components/shared/JinshenHeader.vue b/app/components/shared/JinshenHeader.vue
index 0fd55ca..0721bba 100644
--- a/app/components/shared/JinshenHeader.vue
+++ b/app/components/shared/JinshenHeader.vue
@@ -1,5 +1,6 @@
@@ -78,6 +157,7 @@
const { setLocale } = useI18n();
const activeName = ref(undefined);
+ const mobileMenuVisible = ref(false);
const refreshMenu = () => {
const path = router.currentRoute.value.path;
@@ -94,6 +174,10 @@
}
};
+ const openExternalLink = (url: string) => {
+ window.open(url, '_blank');
+ };
+
onMounted(() => {
refreshMenu();
// 监听路由变化以更新激活状态
@@ -105,10 +189,10 @@