From 5f22be2844ae29f34e00fe83fb3b1359c56ec531 Mon Sep 17 00:00:00 2001 From: ZtRXR Date: Sun, 3 Sep 2023 12:13:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B6=E9=83=A8=E5=88=97=E8=A1=A8=E5=BC=82?= =?UTF-8?q?=E6=AD=A5=E5=8A=A8=E7=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/index/TopBar.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/index/TopBar.vue b/components/index/TopBar.vue index f63bab7..d64bd49 100644 --- a/components/index/TopBar.vue +++ b/components/index/TopBar.vue @@ -5,10 +5,11 @@ let route = useRoute() // const handleSelect = (key: string, keyPath: string[]) => { // console.log(key, keyPath) // } - +const dataLoading = ref(true) const HotArray = ref([]) $fetch("https://data.zziyu.cn/hot/webs").then(data=>{ HotArray.value=data as any + dataLoading.value=false }) // console.log(HotArray) @@ -27,6 +28,7 @@ $fetch("https://data.zziyu.cn/hot/webs").then(data=>{ 总览 + 列表 {{item}}