修复flex布局错误

This commit is contained in:
ZtRXR 2023-09-02 13:12:21 +08:00
parent 142db58619
commit 9567cc63b9

View File

@ -5,7 +5,7 @@ const getWebArr:string[] = await $fetch("https://data.zziyu.cn/hot/webs")
</script>
<template>
<div style="display: flex;align-items: center;justify-content: center">
<div style="display: flex;align-items: center;justify-content: center;flex-direction: column">
<DataTimesTop v-for="(item,index) in getWebArr" :fromWeb="item" :limit="5" :hours="2" :key="index"></DataTimesTop>
</div>
</template>