From 4c4561b35d8d77ec9e6852799369f46773e04b3e Mon Sep 17 00:00:00 2001 From: gaofy <1014893517@qq.com> Date: Thu, 28 Dec 2023 14:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20hospitals=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=9B=91=E5=90=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index ae17f51..551cd52 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -70,9 +70,9 @@ const router = useRouter() const route = useRoute() const userInfo = useLoginStore().getlogin() -let hospitals: any +const hospitals = ref([] as any) getHospitalsData().then((res: any) => { - hospitals = res + hospitals.value = res console.log(res) })