Merge pull request #543 from nagisa77/feature/first_screen

fix: use home path
This commit is contained in:
Tim
2025-08-14 13:46:48 +08:00
committed by GitHub

View File

@@ -8,7 +8,7 @@
</button>
<span v-if="isMobile && unreadCount > 0" class="menu-unread-dot"></span>
</div>
<NuxtLink class="logo-container" :to="`/`">
<NuxtLink class="logo-container" :to="homePath">
<img
alt="OpenIsle"
src="https://openisle-1307107697.cos.ap-guangzhou.myqcloud.com/assert/image.png"
@@ -56,6 +56,10 @@ import SearchDropdown from '~/components/SearchDropdown.vue'
import { authState, clearToken, loadCurrentUser } from '~/utils/auth'
import { fetchUnreadCount, notificationState } from '~/utils/notification'
import { useIsMobile } from '~/utils/screen'
import { withBase } from 'ufo'
const homePath = computed(() => withBase('/'))
const props = defineProps({
showMenuBtn: {
type: Boolean,