Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/release-201826-wangcz' into release-201826-wangcz

shenjj 7 gadi atpakaļ
vecāks
revīzija
84e12847d4
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      pages/mobile/center/user/collect/component/_key.vue

+ 3 - 1
pages/mobile/center/user/collect/component/_key.vue

@@ -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: {