ソースを参照

fix: 搜索缓存取值问题

cuiyalong 1 年間 前
コミット
626aa04ab9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      apps/mobile/src/views/search/middle/bidding/index.vue

+ 1 - 1
apps/mobile/src/views/search/middle/bidding/index.vue

@@ -96,7 +96,7 @@ export default {
       }
     },
     getLastFilters() {
-      const lastFilters = this.$storage.get(BIDDING_SEARCH_LAST_FILTERS_CACHE_KEY, false)
+      const lastFilters = this.$storage.get(BIDDING_SEARCH_LAST_FILTERS_CACHE_KEY, false, { login: true })
       if (lastFilters) {
         this.lastFilters = lastFilters
         const card = this.formatFilterItems(lastFilters)