feat: refetch home page when click elk logo (#1129)

This commit is contained in:
Alex Liu 2023-01-31 11:42:46 +08:00 committed by GitHub
parent b62fd01057
commit bd77d467c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 3 deletions

View file

@ -211,3 +211,9 @@ declare global {
}
}
}
declare module 'nuxt/dist/app' {
interface RuntimeNuxtHooks {
'elk-logo:click': () => void
}
}