Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIから情報を取得するのを停止 #576

Merged
merged 6 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions pages/groups/_groupId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,11 @@
>すると整理券を取得できます。</v-card-subtitle
>
<v-divider class="mb-3"></v-divider>

<!--
<v-btn class="ma-2" color="primary" @click="$nuxt.refresh()"
><v-icon class="mr-1">mdi-reload</v-icon>再読み込み</v-btn
>
-->
<div v-for="(event, index) in suitableEvents()" :key="event.id">
<v-card
class="ma-2 d-flex"
Expand Down Expand Up @@ -517,17 +518,8 @@ export default Vue.extend({
})
}
}
this.$axios
.$get(
'/ga/screenpageview?start_date=7daysAgo&end_date=today&page_path=' +
this.$route.path
)
.then((res) => {
this.view_count = res.view
})
.catch(() => {
this.view_count = 'エラー'
})

this.view_count = 'エラー'

// 全ての公演(events)から,ログイン中のユーザ属性(e.g.students,parents)に合致する公演のみがfilteredEventsに格納される
// '&& this.isToday(val.sell_starts, val.sell_ends, val.starts_at)'を付け加えれば,当日の整理券のみが表示されるようになる
Expand Down
Loading
Loading