异步获取webs列表
This commit is contained in:
parent
702abb181f
commit
b05743902e
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user