From 857435b2b1f293ec0b382437834f37e916ae7bd8 Mon Sep 17 00:00:00 2001 From: thehrz Date: Fri, 21 Jul 2023 18:27:55 +0800 Subject: [PATCH] perf(ChangeLog): update error alert --- src/components/ChangeLog.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/ChangeLog.vue b/src/components/ChangeLog.vue index 43b723e..4f0d418 100644 --- a/src/components/ChangeLog.vue +++ b/src/components/ChangeLog.vue @@ -10,7 +10,7 @@ interface Commit { } } -const { isFetching, data } = useFetch('https://git.thehrz.net/api/v1/repos/19yuke2-project/19yuke2/commits?stat=false&limit=3').json() +const { isFetching, error, data } = useFetch('https://git.thehrz.net/api/v1/repos/19yuke2-project/19yuke2/commits?stat=false&limit=3').json()