fix: 修复ranking页面大批量warning问题

This commit is contained in:
hao.dai
2024-04-16 11:24:07 +08:00
parent c5d4fc62e6
commit f710f1bfc0
10 changed files with 87 additions and 96 deletions

View File

@@ -13,6 +13,8 @@ const props = defineProps({
type: String,
})
provide('rankingPropsKey', reactive({...props}))
// 组件加载完成
const componentLoaded = ref(false)
@@ -41,7 +43,6 @@ onMounted(fetchData)
<template>
<SlideView
v-if="componentLoaded"
v-bind="props"
>
<template #content>
<template