diff --git a/src/components/Debug.vue b/src/components/Debug.vue index 8d68e76..09e2008 100644 --- a/src/components/Debug.vue +++ b/src/components/Debug.vue @@ -6,7 +6,7 @@ import data from '@dynamic/vuepress-plugin-flexsearch/data'; export default { - data() { + data () { return { searchData: data, }; diff --git a/src/components/Form.vue b/src/components/Form.vue index fcbdad8..08d2c9b 100644 --- a/src/components/Form.vue +++ b/src/components/Form.vue @@ -54,7 +54,7 @@ export default { }; }, - mounted() { + mounted () { this.databaseInit(); this.query = this.$router.currentRoute.query[this.queryParam] || '';