异步获取webs列表

This commit is contained in:
ZtRXR 2023-09-02 22:31:23 +08:00
parent 702abb181f
commit b05743902e

View File

@ -6,7 +6,10 @@ let route = useRoute()
// console.log(key, keyPath)
// }
const HotArray = await $fetch("https://data.zziyu.cn/hot/webs")
const HotArray = ref([])
$fetch("https://data.zziyu.cn/hot/webs").then(data=>{
HotArray.value=data as any
})
// console.log(HotArray)
</script>