From fabb4836a91b27150dfc0df558a2590c3351cfd0 Mon Sep 17 00:00:00 2001 From: rockleona <34214497+rockleona@users.noreply.github.com> Date: Sat, 27 Apr 2024 22:40:11 +0800 Subject: [PATCH] fix(page/index): disable return in asyncData --- pages/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index bc1b21845d..c36a138395 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -148,10 +148,10 @@ export default { async asyncData({ store, payload }) { if (payload) return { sponsorsData: payload } await store.dispatch('$getSponsorsData') - const sponsorsData = store.state.sponsorsData - return { - sponsorsData, - } + // const sponsorsData = store.state.sponsorsData + // return { + // sponsorsData, + // } }, data() { return {