diff --git a/frontend/components/containers/annotation/FilterButton.vue b/frontend/components/containers/annotation/FilterButton.vue index 5f16f559..49a4766c 100644 --- a/frontend/components/containers/annotation/FilterButton.vue +++ b/frontend/components/containers/annotation/FilterButton.vue @@ -59,7 +59,6 @@ export default { watch: { selected() { - alert(this.selected) this.initSearchOptions() this.updateSearchOptions({ isChecked: this.items[this.selected].param, diff --git a/frontend/components/containers/annotation/Paginator.vue b/frontend/components/containers/annotation/Paginator.vue index fec5dc4e..b40af3e6 100644 --- a/frontend/components/containers/annotation/Paginator.vue +++ b/frontend/components/containers/annotation/Paginator.vue @@ -69,7 +69,7 @@ export default { created() { const checkpoint = JSON.parse(localStorage.getItem('checkpoint')) - this.page = checkpoint ? checkpoint[this.$route.params.id] : 1 + this.page = checkpoint[this.$route.params.id] ? checkpoint[this.$route.params.id] : 1 this.getDocumentList({ projectId: this.$route.params.id })