🐛 hospitals添加数据监听

This commit is contained in:
gaofy 2023-12-28 14:56:06 +08:00
parent a3da995a88
commit 4c4561b35d

View File

@ -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)
})