Skip to content

Commit

Permalink
fix(page/index): disable return in asyncData
Browse files Browse the repository at this point in the history
  • Loading branch information
rockleona committed Apr 27, 2024
1 parent 7d1c592 commit fabb483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fabb483

Please sign in to comment.