検索のタイトルが変更されない問題を修正 (#7062)
This commit is contained in:
parent
d54f71774e
commit
62ac3400da
|
@ -7,7 +7,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent } from 'vue';
|
import { computed, defineComponent } from 'vue';
|
||||||
import { faSearch } from '@fortawesome/free-solid-svg-icons';
|
import { faSearch } from '@fortawesome/free-solid-svg-icons';
|
||||||
import Progress from '@/scripts/loading';
|
import Progress from '@/scripts/loading';
|
||||||
import XNotes from '@/components/notes.vue';
|
import XNotes from '@/components/notes.vue';
|
||||||
|
@ -20,7 +20,7 @@ export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
INFO: {
|
INFO: {
|
||||||
title: this.$t('searchWith', { q: this.$route.query.q }),
|
title: computed(() => this.$t('searchWith', { q: this.$route.query.q })),
|
||||||
icon: faSearch
|
icon: faSearch
|
||||||
},
|
},
|
||||||
pagination: {
|
pagination: {
|
||||||
|
|
Loading…
Reference in New Issue