fix(nuxt): handle missing Nuxt context in useRoute (#26633)

This commit is contained in:
Alex Liu 2024-04-04 04:49:09 +08:00 committed by GitHub
parent a3a28a913e
commit af3594c788
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,8 +85,7 @@ const isProcessingMiddleware = () => {
return true return true
} }
} catch { } catch {
// Within an async middleware return false
return true
} }
return false return false
} }