検索のタイトルが変更されない問題を修正 (#7062)

This commit is contained in:
sobadon 2021-01-07 12:21:34 +09:00 committed by GitHub
parent d54f71774e
commit 62ac3400da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { computed, defineComponent } from 'vue';
import { faSearch } from '@fortawesome/free-solid-svg-icons';
import Progress from '@/scripts/loading';
import XNotes from '@/components/notes.vue';
@ -20,7 +20,7 @@ export default defineComponent({
data() {
return {
INFO: {
title: this.$t('searchWith', { q: this.$route.query.q }),
title: computed(() => this.$t('searchWith', { q: this.$route.query.q })),
icon: faSearch
},
pagination: {