Browse Source

feat: 搜索缓存退出登陆后清除

cuiyalong 1 year ago
parent
commit
db5f2c57ce
1 changed files with 4 additions and 1 deletions
  1. 4 1
      apps/mobile/src/views/search/result/bidding/index.vue

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

@@ -2321,7 +2321,10 @@ export default {
       const params = this.getSaveFilterToHistoryParams()
       const params = this.getSaveFilterToHistoryParams()
       this.$storage.set(
       this.$storage.set(
         BIDDING_SEARCH_LAST_FILTERS_CACHE_KEY,
         BIDDING_SEARCH_LAST_FILTERS_CACHE_KEY,
-        params
+        params,
+        {
+          login: true
+        }
       )
       )
     },
     },
     beforeTabActiveChange(name) {
     beforeTabActiveChange(name) {