@@ -92,7 +92,9 @@
},
created () {
this.compList = []
- this.keyword = this.$route.params.key
+ if (this.$route.params) {
+ this.keyword = this.$route.params.key
+ }
this.$store.dispatch('searchData/searchForListInMobile', { page: 1, count: 10, w: this.$route.params.key })
computed: {